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!
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!