Thread: lua language
View Single Post
12-02-14, 02:24 PM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,327
Originally Posted by sirann View Post
Then you try to perform an if check that will always be false as you never declared the event table
Trying to index a table that isn't declared (value is nil) should throw an error regardless of it being in an if...then statement.

Without any clue as to the API being used, there could be many more errors than we can see because none of it has anything to do with the WoW API.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)