Triggers once more!

Posted by Morten on Mon 03 Sep 2001 05:58 PM — 2 posts, 11,555 views.

#0
Greetings,

I wonder if it is possible to make a trigger which
add something in front of the line which it trigger on.

Like:

Fathom gives you a brand new set of climbing gear.

will look like:

<= ATTEMPT => Fathom gives you a brand new set of climbing gear.

Thanks in Advance.

Morten.
Australia Forum Administrator #1
You can do this:



Trigger: Fathom gives you *
Send: <= ATTEMPT => %0
Omit from output: checked
Send to: Output


The trigger itself can be whatever you want (eg. "* gives you *").

The %0 in the "send" line is "the whole matching text" which you then put "<= ATTEMPT =>" in front of.

By omitting it from output the original line is dropped.

By sending to output the new line (with <= ATTEMPT => in front of it) is put in the output window instead.