I am completely new to programming of any kind, but am a quick learner and decided I wanted to learn, figuring a small addon for WoW would be a good place to start. I have been doing a lot of reading on creating addons, and found AddOn Studio.
I followed the tutorial and copied all the commands exactly, near as I can tell, and followed the directions to deploy the addon into the WoW directory. When I log into WoW the addon does not load, and I cannot figure out why.
This is what my Lua and ToC files look like:
-- Create Date : 1/6/2010 2:56:48 PM
if (event == "PLAYER_TARGET_CHANGED") then
FontString1:SetText("Hello " .. UnitName("target") .. "!");
## Author: Aleena
## Interface: 30100
## Notes: Say Hello!
## Title: My First Addon
## Version: 1.0