Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ alias used in command stacking

alias used in command stacking

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


Posted by Jeffrey F. Pia   (49 posts)  Bio
Date Thu 12 Dec 2002 06:17 PM (UTC)
Message
I am using v3.21 so I'm not sure if this is addressed in one of the newer versions. When I stack commands and use an alias that calls a script in the middle of the stack, it processes the alias first. Say I enter in the following:

run 2n;get amulet chest;portal amulet;run 3e

where portal is an alias that calls a script that removes my weapon, holds the amulet, enters, etc., etc....
commands to handle the portal would be sent before the run command. Perhaps there is a workaround for this?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 14 Dec 2002 10:11 AM (UTC)
Message
Ah yes, I think this was covered a while back. Aliases and triggers stack up script calls into a temporary list and then walk the list once the processing is finished. I think it was because one line could match more than one alias.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 03 Apr 2003 01:51 AM (UTC)
Message
This problem is fixed in 3.35 - see the release notes for a more detailed explanation.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


13,795 views.

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

Go to topic:           Search the forum


[Go to top] top

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