function createWall()
doCreateItem(1386, 1, gatePosition)
return true
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
local gatePosition = {x=912, y=992, z=7, stackpos=1}
local getGate = getThingFromPos(gatePosition)
local time = 60 --- seconds.
if(item.uid == 6658) then...