In honor of Trouble's little buff dots, I made a similar DogTag that shows if you have cleansable debuffs. Basically it'll put a red X if you have UA and will color every other cleansable debuff by the spell color.
[(if HasAura("Unstable Affliction") then
"X":Red
end) (if HasCurseDebuff then
" -":Fuchsia
end) (if HasMagicDebuff then
" -":Blue
end) (if HasPoisonDebuff then
" -":Green
end) (if HasDiseaseDebuff then
" -":Yellow
end)]
I also used the code from Caith's unit frames to show the MP for my target, but it changes color depending on the MP they have. Blue for mana, Red for rage and Yellow for energy. The only bummer is that it's blank if they have no MP, but I'm willing to live with it.
[HasMP and IsMana ? MP:Short:PowerColor " | " MaxMP:Hide(0):Short:Color('385d71') ! HasMP and IsEnergy ? MP:Short:PowerColor " | " MaxMP:Hide(0):Short:Color('999933') ! HasMP and IsRage ? MP:Short:PowerColor " | " MaxMP:Hide(0):Short:Color('663333')]
