 |
s0ccaman Newbie
Joined: 24 Jan 2003 Posts: 2 Location: USA
|
Posted: Fri Jan 24, 2003 11:16 am
Highlighting Specific Words |
Hiya Everyone,
I have a quick question:
Is there a way to highlight a specific word or group of words?
For example:
I'd like to have the word massacres show as red in the line.
Soandso massacres Barney with his slashes.
Is this possible, if so, please tell me how.
Thanks in advance
An intelligent man speaks and then listens, a wise man listens and then speaks! |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jan 24, 2003 12:57 pm |
Make a trigger that uses #CW:
#TRIGGER {massacres} {#CW red}
Kjata |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Fri Jan 24, 2003 6:52 pm |
For a group of words:
#TRIGGER {{massacres|eviserates|smashes}} {#CW red}
Similarily:
#VARIABLE Damage_Messages {massacres|eviserates|smashes}
#TRIGGER {{@Damage_Messages}} {#CW red}
Ton Diening |
|
|
 |
s0ccaman Newbie
Joined: 24 Jan 2003 Posts: 2 Location: USA
|
Posted: Fri Jan 24, 2003 7:33 pm |
Hi,
Thanks, I'll try it, for the groups of words though I meant something like:
Soandso slashes Barney extremely hard.
or
Soandso slashes Barney very hard.
I suppose I could set up a trigger similar to the one you showed for each individual word, but I would rather have a seperate color for "extremely hard" and "very hard".
Thanks again, :)
An intelligent man speaks and then listens, a wise man listens and then speaks! |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jan 24, 2003 7:50 pm |
For this case you use #COLOR which colors the whole line instead of only the matching portion:
#TRIGGER {%w slashes Barney %w hard.} {#COLOR red}
Kjata |
|
|
 |
|
|