Advertisement
Guest User

Untitled

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