Gagging Input

Posted by Talmord on Thu 19 Jul 2007 04:39 AM — 5 posts, 23,474 views.

#0
How I gag input? I'm trying to make a trigger so it filters out some of the input on my other triggers so it doesn't flood my screen during combat.
USA #1
If you mean input sent to the mud, just use the SendNoEcho function and send everything through a script in the send_to field.
http://www.gammon.com.au/scripts/function.php?name=SendNoEcho
#2
Thanks. Could you an example of a trigger that matches and has no echo?
Australia Forum Administrator #3
Or if by input you mean "input from the MUD" (rather than your input) you need to use "omit from output" for any relevant trigger.
USA #4
<triggers>
  <trigger
   enabled="y"
   match="You get Aardscrabble (TM) - * from the * corpse of *."
   name="Aardtile"
   send_to="12"
   sequence="300"
  >
  <send>SendNoEcho( "keep scrabble\nput scrabble ari001" )</send>
  </trigger>
</triggers>