It looks like you're new here. If you want to get involved, click one of these buttons!
(set: $random to (random: 1,50)) (if: $random is 1)[ (display: "AA") ] (if: $random is 2)[ (display: "AA") ] (if: $random is 3)[ (display: "AA") ] (if: $random is 4)[ (display: "AA") ]
Comments
First, take a look at the Twine 2 syntax guide, particularly the TwineScript Operators section, here: http://twine2.neocities.org/
Specifically, for this you'd want to use a "less than or equal to" operator.
I tested the following code and found it to work:
Hope that helps!
However, this doesn't work. Do you have any idea how I would do this?
1. Checking Increasingly larger values.
The following works because if $random is greater then 4 then the first condition will not be true, so the second condition is checked. 2. Checking a range.