Quantcast WoWInterface - View Single Post - Friends/Guildmates in Cities error
View Single Post
02-22-14, 04:32 AM   #6
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,250
In NXCom.lua

Add the two following lines :
Code:
local rn = GetRealmName();
self.PlyrName = self.PlyrName .. "-" .. rn;
here

Code:
function Nx.Com:OnEvent (event)

	local self = Nx.Com

--	Nx.prt ("Com Event: %s", event)

	if event == "PLAYER_LOGIN" then

		RegisterAddonMessagePrefix (self.Name)		-- 4.1 must register for guild messages

		self.PlyrName = UnitName ("player")
		local rn = GetRealmName();
		self.PlyrName = self.PlyrName .. "-" .. rn;
__________________
RDX manager
Sigg