function leverReturn3(item)
doTransformItem(getTileItemById({x=32833,y=32224,z=14}, 1946).uid, 1945)
end
local p = getPlayerPosition(cid)
if item.actionid == 19503 and getPlayerItemCount(cid, 2145) >= 1 and item.itemid == 1945 then
doTransformItem(item.uid, 1946)
doPlayerRemoveItem(cid, 2145,1)
doSendMagicEffect({x=p.x-1,y=p.y,z=p.z},12)
doCreateItem(7845,1,{x=p.x-1,y=p.y,z=p.z})
addEvent(leverReturn3, 2 * 1000)
else
doPlayerSendCancel(cid,"Sorry, not possible." )
end