lua Code:
-- CFM_LoadBox = "Blackwing Lair - Chaosinc"
b:SetScript("OnClick", function()
-- was going to prevent reloading, but it's much simpler to just do it this time
local realm, name = strsplit(" - ", UIDropDownMenu_GetText(CFM_LoadBox))
print(realm)
print(name)
end)
This is ending up printing realm, but not the name. I'm pretty sure I'm just the delimiter, but everything I've tried so far has just screwed it up more.