|
flipwon Beginner
Joined: 09 May 2008 Posts: 10
|
Posted: Fri May 09, 2008 6:51 am
Stopping my alias |
Okay I have an alias, which is pretty simple, using wait commands..
quick example
blah;#wait 50000;blah;#wait 50000;blah #wait 50000;blah;#wait 50000;blah;#wait 50000;blah #wait 50000;blah;#wait 50000;blah;#wait 50000;blah #wait 50000;blah;#wait 50000;blah;#wait 50000;blah #wait 50000;blah;#wait 50000;blah;#wait 50000;blah #wait 50000;blah;#wait 50000;blah;#wait 50000;blah #wait 50000; over and over and over and over i know there is easier ways to do this...
but anyways if i get disconnected say in the middle of that line, and i log back in, it will continue where it left off..
I want to know if there is a command i can put in, to cancel all that off.. that i could trigger on my login or something, to stop that alias from continuing.. anyways thanks in advance |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri May 09, 2008 9:29 am |
Ideally, you should be using #alarm instead of #wait. You can use #untrig to delete an alarm. There's no way (in zMUD at least) to stop waits like this after they've started. You'll need to add something like #if (@abort=1) {#abort all} before every command, and then change the variable to 1 when you want it to stop.
|
|
|
|
illyism Wanderer
Joined: 09 Dec 2007 Posts: 58
|
Posted: Sat May 10, 2008 1:48 pm |
and seing on your example, I think using the "tick timer" is a better method of doing it.
|
|
|
|
flipwon Beginner
Joined: 09 May 2008 Posts: 10
|
Posted: Sat May 10, 2008 7:16 pm |
wasn't a good example.. the times should be all different.. but i figured it out that guy helped
|
|
|
|
|
|