|
Ziah Novice
Joined: 11 Mar 2005 Posts: 40
|
Posted: Mon Jul 25, 2005 11:23 pm
stop all alias thingies command? |
sorry to keep asking questions on here, i just cant find it in the helpfiles...
ive got an alias that has the #WAIT command in it, and i was wondering if there was something else that i could put into an alias to stop all the #WAIT commands to come...
for example, the alias has me saying something every 9 seconds, but sometimes i have to stop or else ill die, so i need something to cut it off....any suggestions? |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
|
|
|
Ziah Novice
Joined: 11 Mar 2005 Posts: 40
|
Posted: Tue Jul 26, 2005 12:47 am |
oooh thanks... but still, is there a way to make it stop when i have to? i read the #ALARM stuff but i didn't see anything like that
|
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Tue Jul 26, 2005 1:36 am |
give the alarm an name (id) and then use
#T- alarmid |
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Tue Jul 26, 2005 1:37 am |
Or if you want the time counted down to be kept, #SUSPEND alarmid works too
|
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
Ziah Novice
Joined: 11 Mar 2005 Posts: 40
|
Posted: Tue Jul 26, 2005 3:41 am |
thanks!
|
|
|
|
StonedMOFO Beginner
Joined: 22 Sep 2004 Posts: 28
|
Posted: Tue Jul 26, 2005 1:17 pm Is there any way to accomplish this |
Ok, I've change one part of my script to use alarm, but the problem I have is this
How do I make it so it will not create another alarm if one already exist?
so there will never be two of the same alarm exist at one time, I need to somehow prevent my trigger from ever having two at the same time (this flood the server and gets me kicked out). |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Tue Jul 26, 2005 2:44 pm |
Refering to the alarm by Name (ID), and including path/classname when creating an alarm should work. zMud will not create two alarms with the same name in the same class
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jul 26, 2005 8:20 pm |
You can safely use #WAIT in aliases, the problems arise when you put them in triggers since a #WAIT in a trigger stops all processing for the duration of the wait (and anything that's happened in the meantime is then dumped on you all at one time). However, #WAIT is still not a good idea; it's like trying to code in object-oriented VB using the ancient, linear setup of ANSI-BASIC using GOTOs and line numbers.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|