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


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: Wed Aug 11, 2004 12:07 pm   

#alias Multi option
 
Hey there.

im trying to figure out how to make this kind of alias.

Alias who option

This alias should then work like this

who race - who level - who guild - etc.

i don't know how to make this but would like hits to how it could be done

like

command : who level
action : if level then who -l 1 10 ; who -l 11 30;who -l 31 50;who -l 51 255

command : who race
action : if race then who -r elf;who -r groll - and so on.

i have tried to search for help but didn't find what i was looking for, so i hope that i can get a little help from someone.

Thanks
_________________
Drystin
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Wed Aug 11, 2004 3:23 pm   
 
#alias who {#if (%1 = level) {who -l 1 10 ; who -l 11 30;who -l 31 50;who -l 51 255};#if (%1 = race) {who -r elf;who -r groll}}
Reply with quote
Drystin
Beginner


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: Wed Aug 11, 2004 3:51 pm   
 
thats was so easy i should have come up with that my self.

But thanks alot

im so stupid sometimes.
_________________
Drystin
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