function onSay(cid, words, param)
local from,to,special_tile,name = {x = 236, y = 11, z = 4},{x = 242, y = 17, z = 4},{x = 239, y = 11, z = 4},""
for _, pid in pairs(getPlayersOnline()) do
if isInRange(getCreaturePosition(pid), from, to) then
if getCreaturePosition(pid).x == special_tile.x and getCreaturePosition(pid).y == special_tile.y and getCreaturePosition(pid).z == special_tile.z then
name = getCreatureName(pid)
else
doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)))
end
end
end
return doBroadcastMessage("Final do Evento do Castelo, e ganhador: "..(name == "" and "Não houve ganhador." or name))
end