<talkaction words="/leavearena" event="buffer"><![CDATA[
domodlib('HuntAreaFunctions')
if (exhaustion.get (cid, 5755)) then
doPlayerSendCancel (cid, "You can use the /leavearena command one time per 1 seconds!")
return true
else
exhaustion.set(cid, 5755, 1)
if getCreatureStorage(cid, 654321) == -1 then
doCreatureSay(cid, "You can use this command only in Hunting Room.", TALKTYPE_ORANGE_1, false)
else
doCreatureSetStorage(cid, 654321, -1)
stopEvent(pauseKick)
doTeleportThing(cid, {x = 635, y = 660, z = 9})
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
return true
end
]]></talkaction>