function onUse(cid, item, frompos, item2, topos)
if item.actionid == 1028 then
leverpos1 = {x=1332, y=1279, z=14, stackpos=255}
lever1 = getThingfromPos(leverpos1)
leverpos2 = {x=1339, y=1286, z=15, stackpos=255}
lever2 = getThingfromPos(leverpos2)
leverpos3 = {x=1376, y=1275...