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


Joined: 22 Mar 2003
Posts: 10
Location: USA

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

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


Joined: 22 Mar 2003
Posts: 10
Location: USA

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


Joined: 22 Mar 2003
Posts: 10
Location: USA

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