Page 1 of 1
Matching brackets in triggers
Posted: Wed Jul 01, 2009 6:53 pm
by ali0sha
I'm trying to create a trigger to match channels, such as: '(Novitiates):' or '(Cyrene):' but the following regex doesn't seem to be firing:
Any ideas?
Re: Matching brackets in triggers
Posted: Wed Jul 01, 2009 8:10 pm
by Heiko
The regex is ok and will work if you enable the trigger and set the pattern type to perl regex. Mudlet has various pattern types and only one pattern type understands regex patterns.
There is a button with a bug icon in the trigger editor that will show a debug console with tons of helpful output.
Re: Matching brackets in triggers
Posted: Wed Jul 01, 2009 8:25 pm
by ali0sha
Turns out I hadn't activated the trigger group *facepalm*