View Single Post
08-05-17, 04:12 PM   #11
Mortimerlol
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Jul 2017
Posts: 71
i save always name-realm in my savedvariable...
Lua Code:
  1. local unitID = ...
  2.     local realmName = GetRealmName()
  3.     --local name, realm = UnitName(unitID)
  4.     UNTI = GetUnitName(unitID, true); -- sin esto duvuelve solo el nombre sin realm
  5.     --if string.find(UNTI, '%-'..realmName) then UNTI = strsplit("-", UNTI) end
I need split realm if is same with me
  Reply With Quote