More than 1 if?

Started by Mathew_Wi, May 11, 2010, 08:22:30 PM

Previous topic - Next topic

Mathew_Wi

I cannot complete this code for the life of me. I have tried many things to get it working.
I'm making a toggle code. But I can't fit 2 ifs into 1 code!

Using 21xxxxxx yyyyyyyy

I got it working the first time, but how can I ignore it if not active and continue down the code

Sort of like this
If XXXXXXXX = YYYYYYYY
CODE
ENDIF
ANOTHER IF
Etc etc

Thanks!

Romaap

You can raise the last number of the second IF with 1, then it will act as an ENDIF - IF
So if the second IF is 20123456, you can change it to 20123457 and it will first end the first IF.