Thread: Stuf + Threat
View Single Post
Old 06-10-11, 08:48 PM   #29
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 537
Originally Posted by Nibelheim View Post
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.
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah

Last edited by Lily.Petal : 06-10-11 at 08:58 PM.
Lily.Petal is offline   Reply With Quote