in movements.xml
<movevent type="StepIn" itemid="XXXX" event="script" value="newteleporter.lua"/>
change XXXX to the item id
this is the lua file
newteleporter.lua
function onStepIn(cid, item, position, fromPosition)
doTeleportThing(cid, {x=32778, y=31172, z=14})...