View Single Post
09-07-08, 05:34 PM   #20
Mikord
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 61
GetSpellInfo exists before addons are loaded. You don't need to wait for any events.

Tested the following and it prints Mortal Strike as expected:

TestGSI.toc
Code:
## Interface: 20400
TestGSI.lua
TestGSI.lua
Code:
 ChatFrame1:AddMessage(GetSpellInfo(12294))
  Reply With Quote