STACK
STACK
Command lists that are run on objects can have up to 10 stack values named %0 through %9 (or [v(0)] through [v(9)]). Stack values can be set by the @trigger command, or by matching wildcard characters in the Listen attribute (in the case of the Ahear, Aahear, and Amhear attributes).
Example:
> @listen item = * foo *
Set.
> @ahear item = "-->[v(1)]<-- bar -->[v(0)]<--
Set.
> say Fee fie foo fum
You say, "Fee fie foo fum"
item says "-->fum"<-- bar -->Wizard says "Fee fie<--"