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


Joined: 27 Mar 2006
Posts: 6

PostPosted: Fri May 26, 2006 6:00 am   

how can i cancel a command?
 
for example:

1. #TRIG {hi} {#wa 1000;say hi}
2. #TRIG {kick} {????}

when someone said hi, i would say hi back after a while. but if he kicked me after he said hi, i'd like to cancel the command in the first trigger. how can i make it?
Reply with quote
edb6377
Magician


Joined: 29 Nov 2005
Posts: 482

PostPosted: Fri May 26, 2006 6:56 am   
 
chances are the first trigger would have already been parsed by then. I would steer away from WAIT and use alarm. Then you could just cancel the alarm if he kicks you before you say hi.
_________________
Confucious say "Bugs in Programs need Hammer"
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