|
hellojack Newbie
Joined: 27 Mar 2006 Posts: 6
|
Posted: 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? |
|
|
|
edb6377 Magician
Joined: 29 Nov 2005 Posts: 482
|
Posted: 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" |
|
|
|
|
|