|
telepasea Beginner
Joined: 08 Sep 2007 Posts: 15
|
Posted: Mon Sep 08, 2008 5:52 pm
color trigger problem |
I searched the site for this, but couldn't find anything after some searching, anyway...
I am making color triggers for combat, and coloring lines for when I attack one color, when I am attacked another color, and what kind of attack it is (stab, slash, hit, etc.) in some other color.
What I want to know is: how can I get zmud to only color words when they match exactly? For example I have "hit" colored bold green. But this will also color the word "hit" when it is inside the word (white) w"hit"e. And I want "red" displayed in red. But it also colors "red" in the word (colored) colo"red".
Thanks! |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Mon Sep 08, 2008 6:12 pm |
There are two methods, both of which would work.
The simple method is, include the spaces on either side.. hit is not usually the first or last word.
The method that works without spaces is to instead surround it with: %q
#TR {%qred%q} {#CW 12}
#TR {%qhit%q} {#CW high,green} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
telepasea Beginner
Joined: 08 Sep 2007 Posts: 15
|
Posted: Mon Sep 08, 2008 6:36 pm |
Thanks!!! :D
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|