Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/05/21 in all areas

  1. if g_game.isAttacking() then setOption("Cavebot/WalkDelay", "200") else setOption("Cavebot/WalkDelay", "25") end auto(100)
    1 point
  2. @ledivrestart both client and bot and it will be fine
    1 point
  3. local idsToFind = {3031, 3035} local tiles = g_map.getTiles() for _, tile in pairs(tiles) do local topItem = tile:getTopItem() if topItem then for _, id in pairs(idsToFind) do if topItem:getId() == id then playSound("alarm.wav") break end end end end auto(100) Remember to enable the "read map tiles" box in info & options tab. Also reading tiles is limited to the current floor you are at the moment. I'm looking into expanding this tho.
    1 point
×
×
  • Create New...