Quote from evergamerwell, damn, i guess i wasnt done.
here is what i have for target's health:
local s = Status(unit) if s then return s end local cur, max = HP(unit), MaxHP(unit) local r,g,b = HostileColor(unit) return "|cff%02x%02x%02x%s/%s %s%%|r",r,g,b,cur,max,Percent(cur,max)it displays as 12345/12345 100%
I would like it to display as 12.3k/12.3k | 100%
I tried entering the Short tag in some spots to no avail. I am just clueless when it comes this code. I really appreciate the help. Any suggestions?
Try replacing "cur,max" in the return line with "Short(cur,true),Short(max,true)" assuming I understand how Short() needs to format its return.