|
Moab Beginner
Joined: 02 Aug 2008 Posts: 25
|
Posted: Sun Mar 31, 2013 12:41 pm
Editing prompt to colorize based on number... |
My prompt looks like this:
95.95 118.118 86.86 115.119
If I want the first set of numbers to turn red if they are below, say 30, how would I construct the trigger?
If I want the first set of numbers to turn yellow when it is between 30 and 60, how would I construct the trigger?
Thanks!
Edit to add: Also - would love to know how to trigger an increase in font size along with coloring. Thanks! |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4677 Location: Pensacola, FL, USA
|
Posted: Sun Mar 31, 2013 7:20 pm |
make a prompt trigger for it
#TR {^(%d).%d} {
#IF (%1>60) {#CW yellow}
#IF (%1>30) {#CW red}
}
And changing font size is possible, but i find that it rarely looks right
you would need to define a personal style for it then use
#CW styleName |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Moab Beginner
Joined: 02 Aug 2008 Posts: 25
|
Posted: Mon Apr 01, 2013 11:05 am |
Thanks, Shalimar!
|
|
|
|
|
|