Slash Command changes?
Not sure what I'm missing here...going through and updating/testing my small addons for MoP and having issues with slash commands on two of my addons but not on the other. With the addons that are not working, if I type /slashcommand the client does not allow me to press enter. Has something changed with the way slash commands are used/initialized in MoP?
This addon works: Code:
AMFG_LazyWTF_Emote_List = {} -- initialize array Code:
SLASH_AMFGLAZYRC1 = '/rc'; |
When you press enter, the client is getting a Lua error, which is why the chat editbox stays open with your text inside. It's trying to execute your code, but there's something wrong with it. ;)
Turn on Lua errors in Interface Options and you should see what the problem is. |
It'd help if you posted the function as well, so we can see what's wrong with them (do post the lua error too).
|
Quote:
|
All times are GMT -6. The time now is 01:14 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI