Text replacing in color

Posted by Orbwave on Fri 06 May 2005 07:53 PM — 2 posts, 13,160 views.

#0
I've seen a few people post questions like this, but never saw an actual solution.

Input from world:
I like foo.

Trigger captures ^I like foo\.$

Trigger omits the original message from output

Trigger send replacement colored text:
You like bar

So I don't want to see the original message at all, just want it replaced with some colored output. I can do everything except make the replacement text colored. If I use the script:

world.colournote('red', 'black', 'You like bar');

It also gets omitted from the output.
Russia #1
You'll have to use a function in a script file and do the command from there.