HTML Twine /Sugarcube Counter

Marduk73

Newbie
Jul 19, 2021
19
4
Hi , The following question: how can I query a counter? Example: set $talkMeg to 1 Is clear if $talkMeg is 1 , but a query between 1 and 5 ? >= or <= somehow doesn't work
Need help please
 

Alcahest

Engaged Member
Donor
Game Developer
Jul 28, 2017
3,486
4,330
<<if $talkMeg gte 1 && $talkMeg lte 5>>

You see see all the operators here:


But the javascript operators work equally well, in this case <<if $talkMeg >= 1 && $talkMeg <= 5>>
 
  • Like
Reactions: Marduk73