function onStepIn(cid, item, pos, fromPos)
if isPlayer(cid) then
local new
if doPlayerRemoveMoney(cid, 3000) then
new = {x=100, y=100, z=7}
else
new = {x=100, y=100, z=7}
doPlayerSendCancel(cid, 'You need 3k to enter!')
end
doTeleportThing(cid, new)
if not hasCondition(cid, CONDITION_GAMEMASTER, GAMEMASTER_INVISIBLE) then
doSendMagicEffect(pos, 10)
doSendMagicEffect(new, 10)
end
end
end