Lua Code:
local f = CreateFrame("Frame", "LybrialEventFrame")
f:SetScript("OnEvent", function(self, event, ...)
local arg1 = ... --(arg1 will be the name of the addon just loaded for the "ADDON_LOADED" event)
if event == "ADDON_LOADED" and arg1 == "BigWigs" then
-- Initial Bigwigs frames should be created now
end
end)
f:RegisterEvent("ADDON_LOADED")