Advertisement
Guest User

Untitled

a guest
May 21st, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. function()
  2. if UnitExists("focus") then
  3. local name = GetUnitName("focus")
  4. local _,class = UnitClass("focus")
  5. if class then
  6. local color = RAID_CLASS_COLORS[class].colorStr
  7. return "|c"..color..name.."|r"
  8. else
  9. return name
  10. end
  11. else
  12. return ""
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement