Noobish question about <<if>> macro

If you are requesting technical assistance with Twine, please specify:
Twine Version: 2.3.14
Story Format: Sugarcube 2.34.1

Noob question: If I am using the <<if>> macro for an if/or statement, does the variable need to be the same throughout? Or can I use multiple different variables like this:

<<if $lesson==1 or $place==2 or $day==10>>
blah blah blah pretentious writing in an ero game.
<<else>>
blah blah blah different pretentious writing in an ero game.
<</if>>

I know this is probably a dumb question, but Iā€™m kinda dumb. Thanks in advance for your help.

Your example is fine.

1 Like

thanks for your help