|
tacturnal Beginner
Joined: 28 May 2003 Posts: 21 Location: USA
|
Posted: Mon Jun 02, 2003 9:48 pm
Unaliasing Concatonated Commands |
I can't seem to unalias a concatonated command.. like #unalias {%concat(@charname,-kit-,@kitname} {Player Kits}
is there something I need to know? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Jun 02, 2003 10:30 pm |
The #UNALIAS command works, just the way you have it. Of course, the alias has to exist and be in the correct class.
I usually find it easier to concatenate directly instead of using the %concat function, although I can't imagine needing an alias with such a complex name in the first place.
#UNAL @charname-kit-@kitname {Player Kits}
LightBulb
Advanced Member |
|
|
|
tacturnal Beginner
Joined: 28 May 2003 Posts: 21 Location: USA
|
Posted: Wed Jun 04, 2003 5:07 am |
I have made a kit switcher that is character sensitive..
|
|
|
|
tacturnal Beginner
Joined: 28 May 2003 Posts: 21 Location: USA
|
Posted: Wed Jun 04, 2003 5:11 am |
I can look and plainly see that I have alias called Qu-kit-test
@charname is Qu
@kitname is test
#unalias @charname-kit-@kitname doesn't work
neither does #unalias [@charname]-kit-[@kitname] |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Jun 04, 2003 12:44 pm |
I can look and plainly see:
#AL {Qu-kit-test} {#NOOP} {Player Kits}
#VAR charname Qu
#VAR kitname test
#UNAL @charname-kit-@kitname {Player Kits}
Alias Qu-kit-test removed.
It works.
"Of course, the alias has to exist and be in the correct class."
I still don't see any point to it, but it's your script.
LightBulb
Advanced Member |
|
|
|
|
|