05-14-2014, 04:07 PM
http://emudevs.com/showthread.php/1960-Buff-Command-Eluna can someone update that for Mangos TBC please and thanks
05-14-2014, 07:37 PM
For one he never registered the event. So, it wouldn't work at all regardless. Here is the updated part:
local function BuffCommand(event, player, msg, Type, lang)
if(msg:lower() == "#buff") then
player:SendBroadcastMessage("You have been buffed, enjoy!")
05-15-2014, 06:54 AM
The above would bug out and not allow any messages to be sent at all. You need to move the return to inside the if statement.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.