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

15 lines
285 B
Lua

function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local target = Creature(param)
if target == nil then
player:sendCancelMessage("Creature not found.")
return false
end
player:teleportTo(target:getPosition())
return false
end