<triggers>
<trigger
enabled="y"
expand_variables="y"
group="Multi Line"
lines_to_match="2"
match="You eat (a|an|some) (bayberry|bellwort|bloodroot|ginseng|goldenseal|hawthorn|lobelia) (bark|seed|berry|root|leaf|flower)\.\n[^The plant has no effect\.]\Z"
multi_line="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("hi")</send>
</trigger>
</triggers>
Okay, for the above I am trying to match on some of the plant eating messages that either do nothing right away, or cure something. Just anything (on the 2nd line) except when "The plant has no effect." and I plan to make a second one for the ones that aren't covered by it.
Doesn't seem to match, though what am I doing wrong?
<trigger
enabled="y"
expand_variables="y"
group="Multi Line"
lines_to_match="2"
match="You eat (a|an|some) (bayberry|bellwort|bloodroot|ginseng|goldenseal|hawthorn|lobelia) (bark|seed|berry|root|leaf|flower)\.\n[^The plant has no effect\.]\Z"
multi_line="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("hi")</send>
</trigger>
</triggers>
Okay, for the above I am trying to match on some of the plant eating messages that either do nothing right away, or cure something. Just anything (on the 2nd line) except when "The plant has no effect." and I plan to make a second one for the ones that aren't covered by it.
Doesn't seem to match, though what am I doing wrong?