Incomprehensible Error with my loops

KurwaClown:
So i can't keep the led up until and only until the ILS I want is activate

is that a problem? If so, you might have to explain better.

And if you updated your code, please post the updated version (in a new reply).