Yes, when ADDON_LOADED or VARIABLES_LOADED fires, you should check to make sure that it was for your addon/variables. I, personally, prefer to use the PLAYER_LOGIN event. It will only fire once, and pretty much everything should be loaded and ready by then.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh
|