Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. Loop{
  2. CoordMode, Pixel, Client
  3. PixelSearch, FoundX1, FoundY1, 158, 52, 388, 365, 0x3D251B, 0, Fast RGB
  4. }
  5. until ErrorLevel = 0
  6. If ErrorLevel = 0{
  7.  
  8. ;Random Variable Declations
  9.  
  10. ;Iron Rocks
  11. Random, x1, 205, 263
  12. Random, y1, 170, 219
  13.  
  14. Random, x2, 86, 177
  15. Random, y2, 270, 309
  16.  
  17.  
  18. ;Inventory
  19. Random, invX1, 573, 592
  20. Random, invY1, 246, 265
  21.  
  22. Random, invX2, 616, 639
  23. Random, invY2, 245, 266
  24.  
  25. ;Sleeps
  26. Random, s1, 145, 160
  27. Random, s2, 2300, 2450
  28. Random, s23, 2500, 2750
  29. Random, s3, 2200, 2550
  30.  
  31. ;Script Start
  32.  
  33. Mousemove, x1, y1, 3
  34. sleep s1
  35. click
  36. sleep s2
  37.  
  38. Mousemove, x2,y2, 3
  39. sleep s1
  40. click
  41. sleep s23
  42.  
  43. send {shift down}
  44. sleep s1
  45.  
  46. Mousemove, invX1, invY1,3
  47. sleep s1
  48. click
  49. sleep s1
  50.  
  51. Mousemove, invX2, invY2, 3
  52. sleep s1
  53. click
  54. sleep s1
  55.  
  56.  
  57. send {shift up}
  58. sleep s3
  59.  
  60.  
  61. }
  62.  
  63.  
  64.  
  65.  
  66. 2::reload
  67. 3::exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement