function onStepIn(cid, item, position, fromPosition)
local pos
if isPlayer(cid) and getPlayerLevel(cid) >= 150 then
pos = {x=100, y=100, z=7} -- if player is level 150 or higher
else
pos = {x=100, y=100, z=7} -- lower than 150 or monster
end
doTeleportThing(cid, pos)
doSendMagicEffect(position, CONST_ME_TELEPORT)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
end