Condensing Code

i just can't find and examples of using servos with functions.

Moving a servo, if you are using the Servo library, is a matter of calling a function. Whether you call that function from the loop() function or from another function that is called in loop() does not matter.

Do what was suggested earlier. Write the code to make the device move forward, in loop(). Then, rename loop() to moveForward(), and create a new loop() method. Make loop() do something else. Rename loop() to reflect what it now does, and build a new loop() function.

Repeat until you have all the functions you need. Then, just all them from loop(), in the proper order, and you device will be doing the hokey pokey before you know it.