Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. ^j::
  2. find_Siphon:
  3. MsgBox, ,,Finding a Siphon...,1
  4. x_mouse:=1100
  5. y_mouse:=550
  6. Loop,25{
  7. Loop,175{
  8. MouseMove, %x_mouse%,%y_mouse%
  9. ImageSearch, ,,% x_mouse-90,% y_mouse-30,% x_mouse+90,% y_mouse-70,C:\Users\Charley\Documents\RuneScapeBot\Siphon.png
  10. if ErrorLevel
  11. x_mouse-=5
  12. else{
  13. MouseClick, left,%x_mouse%,%y_mouse%
  14. break
  15. }
  16. }
  17. if ErrorLevel{
  18. y_mouse-=20
  19. x_mouse:=1100
  20. }
  21. else
  22. break
  23. }
  24. if ErrorLevel{
  25. ;didnt find anything, might be too far North
  26. ImageSearch, ,,1173,65,1367,231,*TransWhite *50 C:\Users\Charley\Documents\RuneScapeBot\Islands.png
  27. if ErrorLevel
  28. Goto, find_Siphon ;not too far North just missed
  29. else
  30. MouseClick, left, 1275,233 ;go South
  31. }
  32. MsgBox, ,,Siphoning...,1
  33. MouseMove, 36,52,100
  34. Sleep, 15000
  35. Goto, find_Siphon
  36. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement