|
overstated Newbie
Joined: 25 Jun 2005 Posts: 2
|
Posted: Sat Jun 25, 2005 5:41 am
Coloring #subbed lines |
Recieved line: Your victim is shocked by your hit!
Desired result:
To have the line #sub'd with 'Scored a crit!', and shown in bold green (#cw 10).
The #SUB part is no problem, but I can't get it to color it. The idea of making a seperate trigger has occured to me:
#trigger {^Scored a crit~!} {#cw 10}
....but surely there must be a more elegant way. Doesn't Zmud have a way to build color into a #sub/#say/#echo/#show without building a seperate #cw-based trigger for the new text? Like a built-in ANSI coding function or something? |
|
|
|
overstated Newbie
Joined: 25 Jun 2005 Posts: 2
|
Posted: Sat Jun 25, 2005 5:55 am |
Managed to do it with:
#sub {Scored a crit!}
#co {Scored a crit!} 10
is this the only way to do it? What if I wanted multiple colors in a single line of subbed text?
(Update #2)
Figured the better way was with %ansi in the line as such:
#sub {%ansi(high, green)Scored a crit!}
Also suppose that MXP is worth looking into..as it looks like it allows for HTML-ish displaying.. |
|
|
|
|
|