|
RohanTLS Newbie
Joined: 27 Sep 2010 Posts: 4
|
Posted: Fri Oct 01, 2010 10:07 pm
Trying to trigger on (M) |
In doing this it's triggering on EVERY 'M' that shows up, not only when the line starts with (M) even with I put ^(M) it still fires on all lines that start with only M, it will not capture the parenthases. Any help will be much appreciated.
Thanks,
Rohan |
|
|
|
hogarius Adept
Joined: 29 Jan 2003 Posts: 221 Location: islands.genesismuds.org
|
Posted: Fri Oct 01, 2010 10:16 pm |
You need to escape the parentheses, because ( and ) are special characters in zMUD.
Set your pattern as follows:
^~(M~) |
|
|
|
RohanTLS Newbie
Joined: 27 Sep 2010 Posts: 4
|
Posted: Fri Oct 01, 2010 10:17 pm |
Thanks a ton, didn't know what the escape emblem was
|
|
|
|
|
|