|
Drystin Beginner
Joined: 24 Jul 2002 Posts: 18 Location: Denmark
|
Posted: 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 |
|
|
|
Theragil Apprentice
Joined: 13 Feb 2004 Posts: 157 Location: USA
|
Posted: 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}}
|
|
|
|
Drystin Beginner
Joined: 24 Jul 2002 Posts: 18 Location: Denmark
|
Posted: 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 |
|
|
|
|
|