|
krayze Newbie
Joined: 28 Jan 2004 Posts: 2
|
Posted: 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? |
|
|
|
Glinka Wanderer
Joined: 20 Dec 2000 Posts: 53 Location: USA
|
Posted: 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. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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.
|
|
|
|
krayze Newbie
Joined: 28 Jan 2004 Posts: 2
|
Posted: Wed Jan 28, 2004 11:49 am |
Okay I now use '#ALIAS docl {#UNTRIGGER yoss}' and it works perfectly. Thanks guys!
|
|
|
|
|
|