Quantcast
Channel: Twine Forum
Viewing all articles
Browse latest Browse all 3830

Using a passage name as an if statement

$
0
0
I found some code that will allow you to check a passage's tags and then if the statement is true, to set the current passage name as a variable.
But the code is obviously for a different version of twine. Maybe Harlowe? And I'm using sugarcane.

What I want is a code snippet that says

If passage tags do not contain blah blah
set variable to passage name.

I cannot find an example for sugarcane and my fumbling is not working.
Please help!

Viewing all articles
Browse latest Browse all 3830

Latest Images

Trending Articles



Latest Images