It looks like you're new here. If you want to get involved, click one of these buttons!
::StoryInit <<set a = "<<if $event1 eq 0>><<set $event1 to 1>><<endif>>">> ::SomePassage <<print a>>The code above is actually a small part of a lengthy 2-Dimension Array. It set $event1 to 1 in SomePassage inside a replace macro when a link is clicked. Getting the code outside the array would make life very difficult, as the array has billions (currently 4) entries each doing totally different thing.
friendly warning every time I close down my storyinit.You must use 'is' instead of '=' in <<if>> and <<else if>> tags. May I try to fix this for you?
That solved. I think this is some kind of bug as the syntax checker fail the checking. I leave it here for future reference.