2025-02-26 13:42:34 +01:00

19 lines
335 B
Lua

function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local town = Town(param)
if town == nil then
town = Town(tonumber(param))
end
if town == nil then
player:sendCancelMessage("Town not found.")
return false
end
player:teleportTo(town:getTemplePosition())
return false
end