View Single Post
Unread 05-22-13, 10:26 AM   #4
Rusken
A Theradrim Guardian
AddOn Compiler - Click to view compilations
Join Date: Dec 2009
Posts: 61
Oh snap, forgot to do that, its the one ravagernl posted.

Code:
function(unit)
	local name = UnitName(unit) or unit
	name = name:gsub('(%S+) ',function(t) return t:sub(1,1)..'.' end)
	return name
end
Rusken is offline   Reply With Quote