Optional echoing of trigger, alias, macro, timer, and/or commands.

Posted by NeoFryBoy on Sat 27 May 2006 06:08 AM — 5 posts, 19,255 views.

USA #0
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?
Australia Forum Administrator #1
You get two options when you create an alias:

  1. Omit from output - the alias results are not echoed.
  2. 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?
USA #2
<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.

Australia Forum Administrator #3
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.
USA #4
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.