Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
RohanTLS
Newbie


Joined: 27 Sep 2010
Posts: 4

PostPosted: 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
Reply with quote
hogarius
Adept


Joined: 29 Jan 2003
Posts: 221
Location: islands.genesismuds.org

PostPosted: 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~)
Reply with quote
RohanTLS
Newbie


Joined: 27 Sep 2010
Posts: 4

PostPosted: Fri Oct 01, 2010 10:17 pm   
 
Thanks a ton, didn't know what the escape emblem was
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net