Quantcast WoWInterface - View Single Post - Lua code help (stuf text)
View Single Post
05-22-13, 06:32 AM   #3
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
Originally Posted by SDPhantom View Post
It would be easier if you posted a copy of the working code as-is. Be sure to encase it in [code] tags.
I'm thinking it's something like
	local name = UnitName(unit) or unit
	name = name:gsub('(%S+) ',function(t) return t:sub(1,1)..'.' end)
	return name
  Reply With Quote