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

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Alias priority..
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Alias priority..

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

Posted by Shadowfyr   USA  (1,783 posts)  [Biography] bio
Date Sun 16 Jun 2002 08:56 PM (UTC)
Ok... This is very annoying:

bite albain;bite magus;g mine

does - g mine which is an alias 'then' executes the previous commands. Why? I expect them to be executed in the order given, not based on the precidence of aliases vs. normal command input (which should only effect the one command). There shouldn't be a functional difference between command stacking and entering them as seperate commands.
[Go to top] top

Posted by Shadowfyr   USA  (1,783 posts)  [Biography] bio
Date Reply #1 on Mon 17 Jun 2002 09:14 PM (UTC)
Sigh.. Beginning to hate my power company. This is the 4th. time I will have tried to type this due to 'typical' summer power outages. lol

In any case, having looked more carefully at what is happening it looks like the priority problem is not in the aliases, but in the world.sends being used in the script that gets called. This still makes no sense logically, but what is happening is you send the following stacked commands using ;>

alias - calls script

and the result is actually:

world.sends from the called script
1st. command/alias
2nd. command/alias

This is definitely not expected behavior from the users perpsective imo, since the expectation is that a scripts commands will act just like a normal one and execute in the order given in the stacked commands. Instead it does the script first. :p
[Go to top] top

Posted by Vaejor   (120 posts)  [Biography] bio
Date Reply #2 on Tue 18 Jun 2002 05:06 AM (UTC)
You may want to check out a Bug report entitled

Multiline inputs w/scripts used

Last posted on May 15, 2002

and subsequently suggestion #466
[Go to top] top

Posted by Shadowfyr   USA  (1,783 posts)  [Biography] bio
Date Reply #3 on Tue 18 Jun 2002 07:20 PM (UTC)

Amended on Tue 18 Jun 2002 07:33 PM (UTC) by Shadowfyr

Don't remember reading that one, but thanks. Nice to know it is known. Though.. actually looking at the post, it is the same problem, but 'slightly' different conditions. Or at least I assume that ctrl-enter works a little different than employing command seperators. Hard to tell without knowing the internal workings. ;)
[Go to top] top

Posted by Nick Gammon   Australia  (21,652 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Thu 20 Jun 2002 03:48 AM (UTC)
I'll look into that, maybe there is a simple solution.

- Nick Gammon

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


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.


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 FutureQuest]