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
Deloldor
Newbie


Joined: 12 Aug 2009
Posts: 3

PostPosted: Fri Aug 14, 2009 6:10 pm   

small trigger question
 
don't have much experience with these and ran into a small problem that i am sure is easy to fix i just don't know how.

when doing a trigger that has ( ) in context time how do you get it to read it?

have a trigger,
Code:
^--> TICK <-- (All: %1, Qt: %2)
but doesn't work because of the ( ) chars. how can you get it to work when them chars in it.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Fri Aug 14, 2009 8:33 pm   
 
You use the quote special character, i.e. '~'. So your trigger would look something like

Code:
^--> TICK <-- ~(All: %d, Qt: %d~)


Note you shouldn't use %1 and %2 in trigger patterns, you really should be using Pattern Matching symbols.
_________________
Asati di tempari!
Reply with quote
Deloldor
Newbie


Joined: 12 Aug 2009
Posts: 3

PostPosted: Fri Aug 14, 2009 8:54 pm   
 
Yeah i have all the intentions of using the pattern matching stuff, but just to do a basic so it will trip and play a sound it was just easier since they were my next things to look at

edit: and thanks for the ~ thing. i didn't even try them but doing what i need
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