Syntax: #COND [id] pattern commands [options]

Related: #TRIGGER

Adds a new state to a trigger. If "id" is omitted, the last trigger created is modified. "Options" is a string list of options, including the name of the condition type, and the Param value if needed.


#TRIGGER {Zugg} {#CW high,red}
#COND {Hello} {#CW high,blue}

Creates a sequential pattern trigger. The "Hello" text from the MUD is only colored when it is received some time after the Zugg text is received.


#TRIGGER {Zugg} {#CW high,red}
#COND {Hello} {#CW high,blue} {Skip|Param=5}

Only matches the Hello pattern if received 5 lines or more after the Zugg text. This shows an example of how to set the condition type and the condition parameter.