Board Thread:Questions and Answers/@comment-14600979-20140814170047/@comment-14600979-20140815142019

Discordstew wrote: IF B AND 4 AND STR==0 THEN This sort of line has a problem because with B AND 4, the result is either 0 or 4. STR==0 will either be 0 or 1. If neither is 0, it still will read as FALSE (or 0) because it'll become 4 AND 1, which is 0 (becasue in binary, the bits do not match each other to keep the "on" position). So, you need to make the area of B AND 4 to something that will output only 0 or 1. (B AND 4)==4 will work, as will !!(B AND 4). Okay. I realized that part was messy, but this helps anyway...