function onStepIn(cid, item, pos)
local hss = {x=32886, y=32632, z=11} -- Position where player will be teleported to
if item.actionid == XXXXX then -- Replace XXXX with teleport's action id
doTeleportThing(cid,hss)
doCreatureSay(cid, "Welcome to SERVERNAME Teleport room", TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid),20)
doSendMagicEffect(hss,20)
end
return 1
end