macro(10000, "Auto dzwignia", function() for _, tile in ipairs(g_map.getTiles(posz())) do if getDistanceBetween(pos(), tile:getPosition()) == 1 then if tile:getTopUseThing():getId() == 2772 or tile:getTopUseThing():getId() == 2773 then g_game.use(tile:getTopUseThing()) delay(math.random(1200000, 1700000)) end end end end)