User Tools

Site Tools


if

This is an old revision of the document!


The «if» macro is used to control what text the player sees when they visit a passage, or what macros are run when the passage loads.

Usage

«if condition» Passage text «endif»
«if condition» Text «else» Text «endif»
«if condition» Text «else if condition» Text «else if condition» … «endif»

condition is a code expression that evaluates to true or false.

if.1386752597.txt.gz · Last modified: 2017/10/10 00:37 (external edit)