function onUse(cid, item, frompos, item2, topos)
thingpos = {x=xxx, y=yyy, z=zzz, stackpos=}
getthing = getThingfromPos(thingpos)
if item.uid == lever unique id and item.itemid == 1945 and getpiece1.itemid == item id then
doTransformItem(item.uid,item.itemid+1)
doRemoveItem(getthing.uid,1)...