Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/30/2022 in all areas

  1. I've tested this and it works private void dealWithRandomEvent() { NPC npc = npcs().query().results().nearest(); if (npc == null) return; if (!npc.hasAction("Dismiss")) return; mouse().moveRandomly(random(500,4000)); npc.interact("Dismiss"); System.out.println(npc.getName() + " dismissed"); mouse().moveOffScreen(); }
    1 point
×
×
  • Create New...