omit_from_output and notes

Posted by Avariel on Fri 31 Oct 2003 11:55 PM — 3 posts, 14,444 views.

Portugal #0
if i omit_from_output with a trigger i cant send a note replacing the match text?

ive made this trigger and it omits everything even my note :/


  <trigger
   match="(?:\w+) (.+) noses its way cautiously out of the shadows\.$"
   omit_from_output="y"
   regexp="y"
   enabled="y"
   send_to="2"
   sequence="100"
  >
   <send>
    ------------------------------------------------------------------  %1
   </send>
  </trigger>


thank you
Amended on Fri 31 Oct 2003 11:58 PM by Avariel
Australia Forum Administrator #1
There is a bit of a bug, or design idiosyncracy, that omitting from output omits everything (backwards) up to the start of the line being omitted, including any world.notes you have done.

However this problem goes away if you call a separate script, because script execution is deferred until after the omitting is done.

So, put the name of a script routine in the "script" box (don't do "send to script"), and in that script you can do world.notes.
Portugal #2
thank you Nick