Was wondering if there's a way to programmatically toggle the cvar for always showing action bars, along with showing all 4 extra action bars. There seems to be a deliberate restriction on this, but I'm asking here anyway. Setting the CVar will do the trick, but only after reloading it seems.
This is what I've tried so far:
Lua Code:
-- SetActionBarToggles(bar1, bar2, bar3, bar4, alwaysShow)
SetActionBarToggles(1, 1, 1, 1, 1)
SetActionBarToggles(true, true, true, true, true)
-- SetCVar("cvar", value [, "raiseEvent"])
SetCVar("alwaysShowActionBars", 1, true)
SetCVar("alwaysShowActionBars", true, true)
-- This is probably not safe, but it doesn't work anyway.
MultiActionBar_ShowAllGrids()