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
krayze
Newbie


Joined: 28 Jan 2004
Posts: 2

PostPosted: Wed Jan 28, 2004 2:38 am   

#ALARM problem
 
I am trying to make an alias that will perform a command every 2 seconds until I instruct it to stop. Its working fine but the only problem is that every time I connect to the mud the alarm starts with me typing the alias. Here's my code:

#ALIAS dy {#ALARM yoss 2 {ys}}
#ALIAS docl {#SUSPEND yoss}

So when I type "dy" the command "ys" is performed every 2 seconds until I type "docl". But if I have it suspended and then quit it starts itself when I re-start zmud (and is actually screwing up my logging in as is sometimes sent to the mud before my username/pass).

Any ideas?
Reply with quote
Glinka
Wanderer


Joined: 20 Dec 2000
Posts: 53
Location: USA

PostPosted: Wed Jan 28, 2004 5:56 am   
 

You can try this,
put the alias in it's own class
then click the class folder and choose the
diable when connecting to a mud option

hope this helps,
G.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jan 28, 2004 7:35 am   
 
There's more than one way to do this. For instance, since you already rewrite the alarm every time you use the dy alias, you could simply use #UNTRIGGER in the docl alias to remove the alarm completely instead of merely suspending it.
Reply with quote
krayze
Newbie


Joined: 28 Jan 2004
Posts: 2

PostPosted: Wed Jan 28, 2004 11:49 am   
 
Okay I now use '#ALIAS docl {#UNTRIGGER yoss}' and it works perfectly. Thanks guys!
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