• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Eluna: Start command

Erictemponi

Enthusiast
TrinityCore doesn't has the Start (.st) command anymore. So, I made it in Lua. Hope you like, but if you don't, there's no problem.
Code:
local function Start (event, player, command)
	if (command == "st" or command == "start") then
		if (player:IsInCombat() == true) then
			player:SendNotification("You are in combat")
		else
			player:ResetSpellCooldown(7355)
			player:CastSpell(player, 7355, false)
		end
	end
end
RegisterPlayerEvent(42, Start)
 
Top