help with coding for a stepper motor

apologies, I may have worded it wrong.

it does compile and upload to the board.

when the circuit is powered up, the motion sensor will detect movement and be triggered, but the stepper does not rotate. To pin point the problem, when the pirpin turns high, it does not activate the stepper as i would like it to: i would like the stepper to turn a 100 steps clockwise and then 100 steps counter clockwise when the pir is triggered.