Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. program ClickMouse;
  2.  
  3. var x, y: integer;
  4.  
  5. procedure workcunt;
  6. begin
  7. repeat
  8. ClickMouse(x, y, mouse_left);
  9. wait(randomRange(80 + random(50), 200 + random(50)));
  10. until(FindColorTolerance(x, y, 5457470 , 135, 153, 603, 389, 5));
  11. if (FindColorTolerance(x, y, 5457470 , 135, 153, 603, 389, 5)) then ;
  12. wait(randomRange(400 + random(50), 600 + random(50)));
  13. end;
  14.  
  15. begin
  16. repeat workcunt;
  17. wait(randomRange(1000 + random(50), 600 + random(50)));
  18. until(false)
  19. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement