You can either get the value from UserSettings.txt (although unsure whether its value ingame reflects your current server or the previous one), or from add-on filter:
Lua Code:
local realm = GetCVar("LastRealm")
local realm_dash_char = GetAddOnManager():GetAddOnFilter()
You can either get the value from UserSettings.txt (although unsure whether its value ingame reflects your current server or the previous one), or from add-on filter:
Lua Code:
local realm = GetCVar("LastRealm")
local realm_dash_char = GetAddOnManager():GetAddOnFilter()
Thanks!
Lua Code:
local realm = GetCVar("LastRealm")
do the job.
But for me GetAddOnManager():GetAddOnFilter() is empty (it exist, but empty).