Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Can you use random events to change tags.

$
0
0
I was wondering if you would be able to say have a random number and then if the number was say, 1 then add tag happy.
I tried using the following code but it came up with this error: "Error: <<if>>: assignment operator found within <<if>> clause (perhaps you meant to use an equality operator: ==, ===, eq, is), invalid: $random="1" add tag happy"
<<print random(1,2)>>
<<if $random="1" add tag happy>><</if>>

Viewing all articles
Browse latest Browse all 1844

Trending Articles