[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Alias problem

Alias problem

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Davidmartin   (4 posts)  [Biography] bio
Date Sat 02 Aug 2003 12:24 PM (UTC)

Amended on Sat 02 Aug 2003 12:26 PM (UTC) by Davidmartin

Message
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



[Go to top] top

Posted by Davidmartin   (4 posts)  [Biography] bio
Date Reply #1 on Sat 02 Aug 2003 12:27 PM (UTC)
Message
Crap...Sorry for posting this twice
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #2 on Sat 02 Aug 2003 01:04 PM (UTC)
Message
Just delete this one :)

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sat 02 Aug 2003 09:33 PM (UTC)
Message
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

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Davidmartin   (4 posts)  [Biography] bio
Date Reply #4 on Sun 03 Aug 2003 10:46 AM (UTC)
Message
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.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,599 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]