Dale, the simple format of if is
if (condition)
{
code if true
}
In your case you need to put everything you want to happen "if true" within those braces:
...
if (sensorValue > 100 && sensorValue < 200)
{
set position
rise code
delay
fall code
}
else if (sensorValue > 200 && sensorValue < 400)
... etc
Keeping things indented properly helps you keep track of the braces. And the auto-format tool also. (on the Tools Menu)
Cheers,
John