Alias problem

Posted by Davidmartin on Sat 02 Aug 2003 12:24 PM — 5 posts, 17,271 views.

#0
I'm new to MUSHclient and the only experience with making aliases are the simple ones I had with Gmud. Well,my problem is that I have a set aliases that envenoms the weapons(One shortsword in my left another in my right)I am wielding with venoms but if I want to use different weapons (broadswords or rapiers) I have to change them all to fit the weapon description. My current aliases look like this using the venom aconite:

aco1 is the alias for my left hand and it sends:
envenom 5555(this is the number identification of my first shortsword) with aconite
and aco2 is the alias for the right and it sends:
envenom 6666(second shortsword) with aconite

I was wondering if there was any way for my aliases to change the number description according to what weapons I'm wielding



Amended on Sat 02 Aug 2003 12:26 PM by Davidmartin
#1
Crap...Sorry for posting this twice
Greece #2
Just delete this one :)
Australia Forum Administrator #3
This has been asked a fair few times before, so try searching the forum. However the quick answer is, make one alias that simply sets the weapon number or name, eg.

match: weapon *
send: %1
send to: variable
variable name = weapon

Then the other aliases can use:

send: envenom @weapon with aconite
expand variables: checked
#4
Thanks Nick, you are a life saver. Sorry for asking something already asked before. I guess I need to look harder the next time a problem comes up.