I'd like to hide a link if the user is on certain pages, Currently I'm doing this like so:
<<if passage() isnot "Inventory">><<if passage() isnot "Info">>[[Appearance]]<</if>><</if>>
So the "Appearance" passage link will only appear if the user is not on the "Info" or "Inventory" screen. It works but it is going to get really messy when I need to add 7 or 8 different links.
I was hoping there was a way to write it so that I could just add an "or" and the game would check if the user was on either passage.
Comments
Regardless. Try the following:
In the special passages:
Then in the passageHeader:
Then if your link code:
How's it work? PassageHeader always sets $special to 0, the set in the special passages sets it to 1, then the link code checks it.