vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui>
        <Frame>
                <Scripts>
                        <OnLoad>
                                this:RegisterEvent("ADDON_LOADED");
                        </OnLoad>
                        <OnEvent>
                                if ((event == "ADDON_LOADED") and (arg1 == "WoWonid")) then
                                        this:UnregisterEvent("ADDON_LOADED");
                                        wowon_OnLoad();
                                end
                        </OnEvent>
        </Scripts>
    </Frame>
</Ui>