Originally Posted by Nibelheim
Omoshiroi. In that case:
*SNIP*
|
Ill go test this right meow~
EDIT: Still didn't work or show up :<
Going to try the one Canites posted real fast
EDIT2: Tried the link (s)he gave:
Code:
function(unit)
local name, level = UnitName(unit), UnitLevel(unit)
local clcolor = RAID_CLASS_COLORS[select(2, UnitClass(unit))]
if (name and string.len(name) > 10) then
name = string.gsub(name, "([^%s]+) ", function(s) return string.sub(s,1,1) .. "." end)
end
return "%s |cff%02x%02x%02x%s|r", level, clcolor.r*255, clcolor.g*255, clcolor.b*255, name
end
This worked as intended. So I know it's not from my side.