zMud/CMUD Solution
Code: Select all
#TR {You ease yourself out of the %w stance.} {curStance=cankipup}
#COND {*} {} {within lines|param=1}
#COND {^You swiftly swing up} {curStance=nostance} {reparse}
#COND {%e[33m*.} {curStance=nostance} {reparse}
The first condition matches the first line following the initial trigger pattern.
The next two conditions are "reparse" type, which function like a mudlet trigger/filter chain.
In mudlet, could do this with two multiline triggers, and a single line trigger. I can't help but wonder though, if I can combine them into one trigger chain. I cannot figure out how to have a multi-line conditional trigger flow into a trigger filter chain. The manual explains enough to do each type on its own, but not enough to know whether it is possible to combine them.
Code: Select all
Trigger: You ease yourself out of \w+ stance.
Script: curStance="cankipup"
Trigger: You ease yourself out of \w+ stance.
Type: multline - within 1 line
Condition 1: You swiftly swing up
Script: curStance="nostance"
Trigger: You ease yourself out of \w+ stance.
Type: multline - within 1 line
Condition 1: Colour trigger matching ROOM TITLES
Script: curStance="nostance"