|
trigsandstuff Newbie
Joined: 09 Jul 2010 Posts: 7
|
Posted: Sun Jul 11, 2010 7:08 pm
Possible to alternate background color for each line? |
My cmud background is currently black. I was wondering if there is a way to alternate the background color for each line received or each 2 lines received.
It would help a ton for situations like:
rock .......................................................... 1 gold
apple......................................................... 3 gold
scam ........................................................ 10000gold
fish ........................................................... 4 gold
(Only w/o the dots to connect the lines.)
When there are 20 items on a shop and nothing to show connections, it's hard to tell what costs what. I can stare at it for a while, or I can mouse highlight the line and see which connect to what, but I'd really like to just glance at it and know.
But I don't have any specific text or times to use the alternating color, I just want it all the time. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Jul 11, 2010 9:17 pm |
Code: |
#var linecolor 0
#trigger {^%w*gold$} {
#if (@linecolor) {#cw white,black} {#cw black,white}
linecolor = (!@linecolor)
} |
If you ONLY want it to happen in particular instances, you need to provide start and stop lines that you can match that don't change. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|
|
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
|
|