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


Joined: 01 May 2004
Posts: 1

PostPosted: Sat May 01, 2004 4:42 am   

Alias' in lists
 
Hello, I was wondering if there is a way to values in a list as alias'. For example I have a list with values 'dothis1', 'dothis2' and I have alias' called 'dothis1','dothis2' is there a direct way I can just call the alias'.

Thanks
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat May 01, 2004 6:26 am   
 
Try #EXEC
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat May 01, 2004 6:27 pm   
 
Just do it.
#VAR dolist {dothis1|dothis2}
#AL dothis1 {This is the first thing}
#AL dothis2 {This is the second thing}
#AL do {%item( @dolist, %1)}
do 2

See what happens.
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