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
flipwon
Beginner


Joined: 09 May 2008
Posts: 10

PostPosted: 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
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
illyism
Wanderer


Joined: 09 Dec 2007
Posts: 58

PostPosted: 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.
Reply with quote
flipwon
Beginner


Joined: 09 May 2008
Posts: 10

PostPosted: 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
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