This tutorial was made by ziandra, originally found here.
Base files :
Finished files :
I will give you a simple application in a larger framework. You can do it all in one file, but this way shows the bigger picture framework.
First, make sure you have extracted /interface/FrameXML/FrameXML.toc from your patch.MPQ file into your top WoW directory.
(or you can just use the Interface\FrameXML\FrameXML.toc that I have provided)
Change into your interface/FrameXML directory and create a file gorp.xml containing
[snip] replaced by the external file Interface\FrameXML\gorp.xml.
Next, create a file called gorp.lua containing
[snip] replaced by the external file Interface\FrameXML\gorp.lua.
Finally, edit the file FrameXML.toc and add the line
Interface\FrameXML\gorp.xml
to the end.
(or you can just use the Interface\FrameXML\FrameXML.toc that I have provided)
Start up the game, and you can type the command
/gorp
and it will say
Hello World
in your combat window.
To contact me, mail me at k!!!@fukt!!!.bth.se (remove the exclamation marks).