|
Tvesh Newbie
Joined: 13 May 2002 Posts: 6 Location: Belgium
|
Posted: Fri Apr 12, 2002 9:41 pm
How to make colors work right |
I would like to make my hp,sp and ep show in different colors depending on how low those are. I haven't been able to make trigger work correctly. It colors all the values with same color.
The line from mud is following:
| Thom ldr 235( 300) 6( 6) 258(258) | 34 | 324 |
and I would like to see it something like this:
| Thom ldr 145( 300) 0( 6) 258(258) | 34 | 324 |
I would be glad if you could help in the right direction.
//Thom
ps. i hope you get the point, my english isn't that good. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Apr 13, 2002 4:56 am |
It would be much easier to just make gauges, especially with all these special characters. If you don't like the percentages I chose, change them. The spacing matches what I can see in your post.
#SUB {^~| (%w) (%w) (%d)~( (%d)~) (%d)~( (%d)~) (%d)~((%d)~) ~| (%d) ~| (%d) ~|} {~| %1 %2 %if(10*%3<%4,%ansi(high,red),%if(2*%3<%4,%ansi(yellow),%ansi(high,blue)))%3%ansi(grey)~( %4~) %if(10*%5<%6,%ansi(high,red),%if(2*%5<%6,%ansi(yellow),%ansi(high,blue)))%5%ansi(grey)~( %6~) %if(10*%7<%8,%ansi(high,red),%if(2*%7<%8,%ansi(yellow),%ansi(high,blue)))%7%ansi(grey)~(%8~) ~| %9 ~| %10 ~|}
LightBulb
Vague questions get vague answers |
|
|
|
|
|
|
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
|
|