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
erazmus
Beginner


Joined: 05 Apr 2004
Posts: 11
Location: New Zealand

PostPosted: Fri Apr 23, 2004 12:24 am   

Triggers with Multiple Patterns?
 
Hi Guys,

Do you know if it is possible to have a single trigger fire off one of 2 possible patterns?
It's just that I have 3 seperate triggers each with 19 conditions / states.
That would quickly become more (:P) convoluted if it had to change to 38 or so conditions.
Wanting each trigger to fire off a
Constant message or an expected pattern
Can it be done?

Cheers,
Erazmus.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Fri Apr 23, 2004 1:44 am   
 
Read help pattern matching
Im tired so I could be off base but this could be a start.
#TR {{THIS|THAT} trigger} {#say Matches either THIS trigger or THAT trigger}
Reply with quote
erazmus
Beginner


Joined: 05 Apr 2004
Posts: 11
Location: New Zealand

PostPosted: Fri Apr 23, 2004 2:02 am   
 
Thanks for the quick reply :)
You're spot on there, I was just looking in the wrong part of the helpfile :P
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