Board Thread:Questions and Answers/@comment-76.238.194.159-20140822011918/@comment-9531161-20140822014127

Uhh, I don't know if this is pseudo code or something, but there's quite a few things wrong here.


 * You can't do 80<STYPE<82. This statement has to be two separate statements: 80<STYPE AND STYPE<82.
 * AND TRUE means nothing in this case. AND performs a binary operation on the bits of the values being placed in the AND. If you're trying to determine if something is true or not, you don't need to worry. IF statements already do this for you: they only execute the code that follows if the statement is true.

Here's an example of what you're probably looking for:

IF 0<STYPE AND STYPE<25 AND C1==13 GOTO @X

Notice that I've separated the range checks and removed the AND TRUE.