WoW:Getting started with writing AddOns: Difference between revisions

Line 80: Line 80:


<pre>
<pre>
<Script file="MyAddon.lua"/>  
<Script file="MyAddon.lua"/>  
<Frame name="MyAddon">  
<Frame name="MyAddon">  
    <Scripts>  
    <Scripts>  
        <OnLoad>  
        <OnLoad>  
            MyAddon_OnLoad();
            MyAddon_OnLoad();
        </OnLoad>
        </OnLoad>
    </Scripts>
    </Scripts>
</Frame>
</Frame>
</pre>
</pre>