Só isso?
Tag:
<action actionid="actionid desejado" event="script" value="nome do arquivo.lua"/>
Código:
function onUse(cid, item, frompos, item2, topos)
local pos = {x = x, y = y, z = z} --Para onde o jogador será teleportado.
doPlayerSendTextMessage(cid, 27, "Você foi teleportado.")
doTeleportThing(cid, pos)
return true
end