Advertisement
Guest User

Kimmo

a guest
Aug 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. Loop{
  2. PixelGetColor, A, 971, 1145, , Fast
  3. PixelGetColor, B, 1119, 1145, , Fast
  4. PixelGetColor, C, 1318, 1145, , Fast
  5. PixelGetColor, D, 1538, 1145, , Fast
  6. SecondCheck = true
  7. If (A != 0xC5C5C5)
  8. MouseMove 1055, 1273
  9. SecondCheck = false
  10. If (B != 0xCCCED0)
  11. MouseMove 1055, 1273
  12. SecondCheck = false
  13. If (C != 0xD3D6D6)
  14. MouseMove 1260, 1273
  15. SecondCheck = false
  16. If (D != 0xD7D7D7)
  17. MouseMove 1471, 1273
  18. SecondCheck = false
  19. }
  20. If (SecondCheck) #so if secondcheck is true can also be wtitten as if (SecondCheck == true)
  21. PixelGetColor, W, 971, 1145, , Fast #change the y axis so this one is a few pixels below the first check. Maybe just higher the first check I guess
  22. PixelGetColor, X, 1119, 1145, , Fast
  23. PixelGetColor, Y, 1318, 1145, , Fast
  24. PixelGetColor, Z, 1538, 1145, , Fast
  25. If (A != 0xC5C5C5)
  26. MouseMove 1055, 1273
  27. If (B != 0xCCCED0)
  28. MouseMove 1055, 1273
  29. If (C != 0xD3D6D6)
  30. MouseMove 1260, 1273
  31. If (D != 0xD7D7D7)
  32. MouseMove 1471, 1273
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement