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
Silver-Knight
Newbie


Joined: 17 Jan 2003
Posts: 3

PostPosted: Tue Jan 21, 2003 6:42 am   

How to trigger with exceptions
 
I'm trying to create a trigger that will activate for a certain set of strings, but not if another string is in the input line. Will this work?

#TR {({A|B|C})^{D}} {adv %1}
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Tue Jan 21, 2003 8:37 am   
 
#TRIGGER {^({Broken|Slow|Rusty}) {^cars}} {say Bah! Its %1}

That should match:
Broken toys
Slow service
Rusty pliers
etc

and not
Broken cars
Slow cars
Rusty cars


Ton Diening
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