local function back(params)
doCreatItem(params.wallid, 1, params.wallpos)
doTransformItem(params.laver, item.itemid - 1)
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
local corpsePos = {x=,y=,z=,stackpos=}
local corpse = getThingFromPos(corpsePos)
local corpseId = 1234
local wallPos = {x=,y=,z=,stackpos=}
local wall = getThingFromPos(wallPos)
local wallId = 1234
local time = 10
if (item.itemid == 1945 and corpse.itemid == corpseId and wall.itemid == wallId) then
doRemoveItem(corpse.uid, 1)
doRemoveItem(wall.uid, 1)
doTransformItem(item.uid, item.itemid + 1)
addEvent(back, time * 60 * 1000, {wallid = wallId, wallpos = wallPos, laver = item.uid})
end
return true
end