Quote from stako04I'm working with *this* and I'm trying to figure out how to change the color of the buff duration text and have it set to different colors based on the duration. For example, if the duration is < 60 sec, make the font color red, if it's greater than 60 sec and less than 1 hour, make it blue, if its greater than 1 hour, make it white.
The language you're using can translate almost directly into code. Assuming duration is in seconds:
[php] if duration < 60 then
color = red
elseif duration < 3600 then
color = blue
color = white
As for where to do that, it doesn't look like the text color is set in the addon you posted. That appears to be an addon that modifies another addon. You'll need to search that other addon for where it calls[FONT=monospace] S[/FONT]econdsToTimeAbbrev, and you should be pretty close.