Shattered Kingdoms
https://shatteredkingdoms.org/forums/

Zmud Color Coding for Group Info
https://shatteredkingdoms.org/forums/viewtopic.php?f=42&t=22874
Page 1 of 1

Author:  MsPooperTrooper [ Mon Aug 13, 2012 6:27 am ]
Post subject:  Zmud Color Coding for Group Info

Edited because my first one was crazy. Thanks to Nightwing for cleaning that up. I changed mine up a bit just for personal preference.

Quote:
#CLASS {Info Colors }
#TRIGGER {{Yes|No} 100~%} {#CO white}
#TRIGGER {{Yes|No} 9?~%} {#CO white}
#TRIGGER {{Yes|No} [7-8]?~%} {#CO steelblue}
#TRIGGER {{Yes|No} 6?~%} {#CO sandybrown}
#TRIGGER {{Yes|No} 5?~%} {#CO red}
#TRIGGER {{Yes|No} [1-4]?~%} {#CO high,red}
#TRIGGER {{Yes|No} ?~%} {#CO high,red}
#CLASS 0


Nightwing's good.


Update: I've noticed that this wasn't working on my laptop, even though I'm using the same version of Zmud on it as I do my desktop, where this class does work. I did some tweaking, and by inserting %s I managed to fix the issue. Not sure why it was an issue to begin with, though. Weird.

Quote:
#CLASS {Info Colors}
#TRIGGER {{Yes|No} %s 100~%} {#CO white}
#TRIGGER {{Yes|No} %s 9?~%} {#CO white}
#TRIGGER {{Yes|No} %s [7-8]?~%} {#CO steelblue}
#TRIGGER {{Yes|No} %s 6?~%} {#CO sandybrown}
#TRIGGER {{Yes|No} %s 5?~%} {#CO red}
#TRIGGER {{Yes|No} %s [1-4]?~%} {#CO high,red}
#TRIGGER {{Yes|No} %s ?~%} {#CO high,red}
#CLASS 0

Author:  Nightwing [ Mon Aug 13, 2012 9:10 am ]
Post subject:  Re: Zmud Color Coding for Group Info

Good lord... I don't know whether it's faster to have patterns, but it's far less copy-pasta. Also, you really need ~ in front of your percent signs or you're going to get some strange variants at some point.

A lot less spammy wrote:
#CLASS {Info Color}
#TRIGGER {{Yes|No} 100~%} {#CO white}
#TRIGGER {{Yes|No} 9?~%} {#CO white}
#TRIGGER {{Yes|No} 8?~%} {#CO cyan}
#TRIGGER {{Yes|No} 7?~%} {#CO magenta}
#TRIGGER {{Yes|No} 6?~%} {#CO yellow}
#TRIGGER {{Yes|No} [1-5]?~%} {#CO high,red}
#TRIGGER {{Yes|No} ?~%} {#CO high,red}
#CLASS 0

Author:  MsPooperTrooper [ Mon Aug 13, 2012 9:50 am ]
Post subject:  Re: Zmud Color Coding for Group Info

lol I'm pretty ignorant when it comes to this stuff, and no one seemed to know any better than me, so I just spent the time to try figuring it out myself and that's what I ended up with. Thanks for your input!

Author:  Muktar [ Mon Aug 13, 2012 12:00 pm ]
Post subject:  Re: Zmud Color Coding for Group Info

Still thanks!

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/