*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?

1 Like

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:

1 Like

You could also do something like:
*if Strength >10
_Win
*elseif Strength >5
_Lose
*else
_Die

That works too. Thank you :slight_smile: