Jump to content

Request Script


Zelek

Recommended Posts

  • 7 months later...
  • 3 months later...

Any chance to get something similar to this? 


 

macro(1000, "Dzwignia",  function()
 for x = -1, 1 do
  for y = -1, 1 do
   local tile = g_map.getTile({x = posx() + x, y = posy() + y, z = posz()})
    for u,item in ipairs(tile:getItems()) do
     if (tile and item and item:getId() == 2773 or item:getId() == 2772) then
      g_game.use(item)
     return
    end
   end
  end
 end
end,toolsTab)

 

It basically uses a lever or an item with specific ID if it appears on map, just not sure how to edit it, so it works with OTClientBot. 

Many thanks. 

Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...