Hi everyone, sorry to bother you all with such a basic question.
I'm trying to do a simple "if - else" process, and I keep getting an error message. I'm just trying to get Twine to recognize when the random number doesn't fall in a certain range. For the life of me, I can't figure out what I'm doing wrong.
This is the code I'm trying to get to work:
<<set $RandomNumberA to random(1,10)>>
<<if $RandomNumberA gt 5>>
<<set $HighRandomNumber to true>>
<<set #HighRandomNumber to false>>
If the random number is greater than 5, everything works okay. But if the random number is less than 5, I get this error message.
Error: <<set>>: bad evaluation: Invalid or unexpected token
I am completely stumped. Thanks in advance for your help.