try it [not tested]
local place = {x=1000, y=1000, z=7} --Where they will be teleported to
function onStepIn(cid, item, position, fromPosition)
doTeleportThing(cid, place)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_ENERGYAREA)
doPlayerSendTextMessage(cid, 22, "Wrong...