Replacement

Posted by Unregistered user on Sat 24 Feb 2001 12:00 AM — 2 posts, 13,850 views.

#0
say you have this line of output:
"A Drow Elf starts casting an offensive spell."

how would i change it to:
"A Drow Elf starts casting an OFFENSIVE SPELL."

and possibly change the color of "OFFENSIVE SPELL."
so that i might see it better in spam

- Borixanon
Australia Forum Administrator #1
The simplest thing is to change the colour, because changing the text is more complex.

Make a trigger like this:

Match on: offensive spell
Regular expression: checked
Colour: (Choose a custom colour)

Then go into the custom colour configuration screen and make the custom colour really stand out, eg white on bright red, or something like that.

You could also get the trigger to play a sound (eg. a siren or bell) to warn you about this situation.

You *can* change the wording, by doing something like this:


Match on: *offensive spell*
Send: %1 OFFENSIVE SPELL %2
Send to: Output
Regular expression: unchecked
Omit from output: checked

What this does is:

1. Omit the incoming line from the output window
2. Instead, send its own version with OFFENSIVE SPELL in capitals to the output window

However the problem here is that you cannot also change the colour, it is one or the other.

Personally I think the colour change is simpler and less messy.