Awesome stuff. I got that book that was mentioned above, it arrives today.
EDIT - For example, I went over to wowprogramming.com and there is an example addon called HeyTHere. I copied the addon and it says incompatible.
Addon itself:
Code:
SLASH_HEYTHERE1 = "/hey"
SLASH_HEYTHERE2 = "/heythere"
SlashCmdList["HEYTHERE"] = function(self, txt)
if UnitExists("target") then
SendChatMessage("Hello " .. UnitName("target"), "SAY")
else
SendChatMessage("Hey there everybody!")
end
end
TOC:
Code:
## Interface 60200
## Title: Hey There!
## Notes: Provides slash commands to greet other players.
HeyThere.lua
Now my guess would be, something to do with the addon code is outdated?