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
➜ Suggestions
➜ Optional echoing of trigger, alias, macro, timer, and/or commands.
|
Optional echoing of trigger, alias, macro, timer, and/or commands.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| NeoFryBoy
USA (42 posts) Bio
|
| Date
| Sat 27 May 2006 06:08 AM (UTC) |
| Message
| That's right, "and/or". What I mean by that, is instead of giving the option of echoing all commands or no commands, what if we could select whether we wanted to echo certain groups of things.
ie.
Currently, I only want my commands typed, timers, and macros to echo. I hate the aliases and triggers echoing and merging into the onscreen text.
Could an option be added to control this? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 27 May 2006 10:01 PM (UTC) |
| Message
| You get two options when you create an alias:
- Omit from output - the alias results are not echoed.
- Echo alias - the alias itself is echoed
The default is to not echo the alias but to echo what it does.
<aliases>
<alias
match="s"
enabled="y"
sequence="100"
>
<send>emote sings</send>
</alias>
</aliases>
For example the above alias (s) echoes "emote sings" when you type "s" but not the "s" itself. You can change it to see both or neither.
Similarly with timers and triggers, you can turn on or off "Omit from output", so you choose whether or not to see the timer/trigger output.
In what way does this not meet your needs? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| NeoFryBoy
USA (42 posts) Bio
|
| Date
| Reply #2 on Sun 28 May 2006 02:21 AM (UTC) |
| Message
| <triggers>
<trigger
enabled="y"
match="You killed a Triv bonus mob!! Triv point added."
sequence="100"
>
<send>gt Trivia Point!</send>
</trigger>
</triggers>
This trigger will show me the gt Trivia Point! being sent. If I tell it to 'Omit from output' it hides the line that triggered as well as the commands sent. I want to see the line that triggered it, but not what was sent.
<aliases>
<alias
match="cons"
enabled="y"
echo_alias="y"
omit_from_output="y"
sequence="100"
>
<send>consider all</send>
</alias>
</aliases>
This alias will echo the 'cons' and omit the 'consider all'.
That is what I want. The problem I have is that it only works if it sends to 'World'. If execute or script(world.send or world.execute) are chosen the commands are still echoed.
Instead of all this pick and choose, make the option to override these on a World scale.
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Sun 28 May 2006 05:03 AM (UTC) |
| Message
| Your trigger:
<triggers>
<trigger
enabled="y"
match="You killed a Triv bonus mob!! Triv point added."
send_to="12"
sequence="100"
>
<send>SendNoEcho "gt Trivia Point!"</send>
</trigger>
</triggers>
This is using Send to Script, and the SendNoEcho command. This sends without echoing.
Same with the alias, change Send to SendNoEcho.
Quote:
Instead of all this pick and choose, make the option to override these on a World scale.
Not sure how popular that would be. Then what happens if you really want to see the thing being sent? We would need another option to "really echo" it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| NeoFryBoy
USA (42 posts) Bio
|
| Date
| Reply #4 on Sun 28 May 2006 05:35 AM (UTC) Amended on Sun 28 May 2006 05:44 AM (UTC) by NeoFryBoy
|
| Message
| You could just leave it off, if you want to pick which ones to echo.
I had seen it as something like this:
http://img.photobucket.com/albums/v605/NeoFryBoy/ieTrigg.gif
Help would say something like:
Select this box if you don't want to echo any of the trigger commands that are sent to the MUD. If left unchecked then all triggers will echo, or particular triggers can be set to not echo using SendNoEcho.
And repeat for aliases, timers, etc. | | 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.
17,323 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top