View Single Post
04-17-14, 09:05 PM   #15
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by cokedrivers View Post
Not sure what you mean by "continue to spit the chat out" but my "Welcome" chat only loads when you log in or do a ReloadUI.
Yeah, that's annoying. Imagine that every addon you have installed prints a "welcome" message when you log into the game or reload your UI. If you only use one addon, that might be fine, but I have 146 addons installed, excluding plugins. If all of them felt the need to inform me every time I logged in that I'd installed them, that would be 146 lines of spam in my chat frame. Hopefully you see the problem.

If you feel the need for a "welcome" message at all, you should only print it the first time a user logs in with your addon (eg. its saved variables are nil). After that, presumably your users are able to remember that they're using your addon, and able to see its frames on their screen; you don't need to tell them over and over that they're using your addon.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote