It may be the fact I'm tired, but for the life of me I can't get this to work:
lua Code:
-- generic format
CFM_Profiles[realm][toon] = {}
-- create dropbox values
function CFM_LoadDropInit(self)
local level = level or 1
local info = UIDropDownMenu_CreateInfo()
local i = 0
for realm, name in pairs(CFM_Profiles) do
info.text = realm.. " - ".. name -- line 1363
-- code snipped
end
Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\CFM\CFM_GUI.lua line 1363:
attempt to concatenate local 'name' (a table value)
I'm simply looking to pull the text of the value from the table rather than reference it (i.e.
toon should be "ChaosInc").