*if Statements (Between)


Is there a “Between” option to use with *if Statements?

For example, say your character is fighting. Can you make it so that if the character’s strength is above 10, they win. If the character’s strength is below 5, they die. But if the character’s strength is between 5 and 10, they lose but still survive?


Sure. Just make it like this:

*if ((strength > 5) and (strength < 10))

Don’t forget the brackets. ChoiceScript can’t really figure out what to do with such an *if-statement otherwise.


Ah, didn’t think of that. Thank you! :slight_smile:


You could also do something like:
*if Strength >10
*elseif Strength >5


That works too. Thank you :slight_smile: