Gammon Forum
Entire forum
MUSHclient
Bug reports
Alias priority..
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Shadowfyr
USA (1,786 posts) bio
|
Date
| Sun 16 Jun 2002 08:56 PM (UTC) |
Message
| 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. | top |
|
Posted by
| Shadowfyr
USA (1,786 posts) bio
|
Date
| Reply #1 on Mon 17 Jun 2002 09:14 PM (UTC) |
Message
| 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 ;>
command/alias
command/alias
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 | top |
|
Posted by
| Vaejor
(120 posts) bio
|
Date
| Reply #2 on Tue 18 Jun 2002 05:06 AM (UTC) |
Message
| 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 | top |
|
Posted by
| Shadowfyr
USA (1,786 posts) 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
|
Message
| 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. ;) | top |
|
Posted by
| Nick Gammon
Australia (22,975 posts) bio
Forum Administrator |
Date
| Reply #4 on Thu 20 Jun 2002 03:48 AM (UTC) |
Message
| I'll look into that, maybe there is a simple solution. |
- 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.
11,706 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
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.