Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1::
- Loop,
- {
- CoordMode, Pixel, Client
- PixelSearch, FoundX1, FoundY1, 158, 52, 388, 365, 0x3D251B, 0, Fast RGB
- If ErrorLevel = 0
- {
- ;Random Variable Declations
- ;Iron Rocks
- Random, x1, 209, 285
- Random, y1, 92, 166
- Random, x2, 134, 189
- Random, y2, 197, 239
- ;Inventory
- Random, invX1, 573, 592
- Random, invY1, 246, 265
- Random, invX2, 616, 639
- Random, invY2, 245, 266
- ;Sleeps
- Random, s1, 145, 160
- Random, s2, 2300, 2450
- Random, s23, 2500, 2750
- Random, s3, 2200, 2550
- ;Script Start
- Mousemove, x1, y1, 3
- sleep s1
- click
- sleep s2
- Mousemove, x2,y2, 3
- sleep s1
- click
- sleep s23
- send {shift down}
- sleep s1
- Mousemove, invX1, invY1,3
- sleep s1
- click
- sleep s1
- Mousemove, invX2, invY2, 3
- sleep s1
- click
- sleep s1
- send {shift up}
- sleep s3
- }
- else
- {
- Sleep, 1000
- }
- }
- 2::reload
- 3::exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement