Stepper Motor won't go more than one step when in an 'if'

You have not called stepper.setSpeed() so the motors may be trying to move faster than is possible.

If you need more help post a link to the datasheet for your stepper motors and tell us what stepper motor driver and stepper motor power supply you are using.

...R
Stepper Motor Basics
Simple Stepper Code

also look up the AccelStepper library