I created a script, it works fine, but after my <Layers></Layers> tags, I tried to put in the following code:
Code:
<Frames>
<Button name="MyScriptOptionsButton" hidden="false">
<Size>
<AbsDimension x="19" y="19" />
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="1" y="1" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.tooltip = "Configure My Script";
</OnLoad>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_LEFT");
GameTooltip:SetText(this.tooltip);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
</Frames>
And it crashes WoW. I have tried to figure out what's wrong with my code and I can't figure it out. If I take this bit of code out it works.
Any help would be much appreciated.
Thanks in advance,
-Saati