Jump to content

How can i turn this into Runescape Divination bot?


Recommended Posts

i found rdy script, all its missing is once inventory reaches its capasity to go to the " main thing " and dump all of them inside so it can keep gather more.

Quote

HotKeySet("{ESC}", "Terminate")
HotKeySet("!c", "getColor")
HotKeySet("!a", "attackLoop")

Global $color
Global $interval
$interval = 10000

MsgBox(0, "Starting Up", "Starting, use ESCAPE to quit, Alt + C to set color, and Alt + A to attack.")

Func Terminate()
   Exit 1
EndFunc

Func getColor()
   $point = MouseGetPos()
   $color = PixelGetColor($point[0], $point[1])
   MsgBox(0, "Color Set", "The color has been set to " & $color)
EndFunc

Func attackLoop()
   MsgBox(0, "Attacking", "Starting to attack")
   While 1
      $point = PixelSearch(60, 157, 1772, 759, $color)
      if IsArray($point) Then
         MouseClick("left", $point[0], $point[1])
         Sleep($interval)
      EndIf
      Sleep(50)
   WEnd
EndFunc

While 1
   sleep(250)
WEnd

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...