|
Necro Beginner
Joined: 22 Mar 2003 Posts: 10 Location: USA
|
Posted: Sun Mar 30, 2003 2:59 pm
Alias for multiple commands |
I'm trying to be more simple until I have a better understanding of zMud language. I created a simple alias to do a tedious task that allows me to think to other people.
#ALIAS leech {get leech jar from satchel;open leech jar;get leech from leech jar;close leech jar;wear leech;put leech jar in satchel}
It seemed to work, but the scroll made it obvious it was automated. I tried putting | in place of the semi-colon in an attempt to create a pause between actions. It didn't work. Is there a command I can do that will slow this alias down with a pause between the commands? A pause that I can regulate the length of.
Necro - Never lost, always confused. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Mar 30, 2003 5:10 pm |
Alarms (#ALARM) are recommended. Set the times to whatever number of seconds you prefer. The + is needed to make them one-time alarms.
#AL leech {get leech jar from satchel;#ALArm +1 {open leech jar};#ALA +2 {get leech from leech jar};#ALA +3 {close leech jar};#ALA +4 {wear leech};#ALA +5 {put leech jar in satchel}}
LightBulb
Advanced Member |
|
|
|
Necro Beginner
Joined: 22 Mar 2003 Posts: 10 Location: USA
|
Posted: Sun Mar 30, 2003 5:15 pm |
Thanks LightBulb. I will try and implement the alarm. I have read quite a bit on it and should be able to do it. Thanks a bunch. I'm slowly learning how to do things.
Necro - Never lost, always confused. |
|
|
|
Necro Beginner
Joined: 22 Mar 2003 Posts: 10 Location: USA
|
Posted: Sun Mar 30, 2003 5:31 pm |
Uhoh! A lightbulb has come on inside my head. Pun intended. LOL
Thanks LightBulb. You just helped me figure out many things. Look out. I have learned another trick. The Alarm worked great! Thanks.
Necro - Never lost, always confused. |
|
|
|
|
|