|
SmilingReaper Newbie
Joined: 10 Jan 2002 Posts: 8
|
Posted: Thu Jun 27, 2002 7:47 pm
Breaking waits |
Is there a way to break midway through a wait without executing the command after the wait? For example, if I have a wait trigger set for five minutes but I decide I don't want the command to execute, how can I break it? Using #break ends the wait but causes the command to execute.
|
|
|
|
Darker GURU
Joined: 24 Sep 2000 Posts: 1237 Location: USA
|
Posted: Thu Jun 27, 2002 9:18 pm |
Well, #wait sucks, don't use it.
But if you're set on using it, you can make the command after the wait depend on an #if check to a status variable you can set just before issuing the #break.
zMUD 6 Online Help: All the power you'll ever need. |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Thu Jun 27, 2002 9:52 pm |
You could create an #ALARM trigger with an identifier which calls an alias.
If you want to break the wait, you would untrigger that #ALARM identifier
and directly call the same alias.
Ton Diening
Providing untested answers that tend to be
more complicated than others. |
|
|
|
|
|