local storage = 44311 -- Storage needed to enter door
function onStepIn(cid, item, fromPosition, toPosition)
if(getPlayerStorageValue(cid, storage) == -1) then
setPlayerStorageValue(cid, storage, 1)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You may now enter the door.")
else
doTeleportThing(cid, fromPosition)
doPlayerSendCancel(cid, "You have already walked here.")
end
return true
end