If A=2 And B=1
Then "You just get past the lion."
If A=2 And B=0
Then "You run out of energy."
"The lion catches you! You die."
Note that the EXE arrow and little pause staircase thing (don't know what they're actually called) is there - I just don't have it on my keyboard to show you all. I'm basically trying to make a text based game utilizing variables and if statements. In this particular part, I'm trying to make it so that if you have completed a certain action previously [B], then you get a certain outcome. [A] is the player's input (go back/run past the lion). It doesn't come up with a syntax error but it completely seems to skip the 'and' part of the statement. Also, I can't seem to start out under a label with an 'if' statement. I've also tried using an 'else' statement, but whenever I do it skips to the else bit and seems to disregard the 'if' statement altogether. Whenever I make these chains of if statements normally, it works - it's just when I use the 'and' or try to put if statements in if statements. Please help!
Edited by Aether, 05 February 2014 - 05:12 AM.