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 priority..
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Shadowfyr
USA (1,791 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,791 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,791 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 (23,165 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.
15,365 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top