Guest User

Untitled

a guest
Sep 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. program PowerCutter;
  2. {$i RSCS/RSCS.simba}
  3.  
  4. var
  5. tm, tm2: Integer;
  6.  
  7. begin
  8. SetupRSCS;
  9. repeat
  10. tm := GetSystemTime;
  11. SleepCheck;
  12. if SearchForObject(object_P,TREE) then
  13. MoveMouse(object_P.X, object_P.Y);
  14. Wait(50);
  15.  
  16. if RSCE_UpText(CYAN) = 'Tree..' then
  17. WriteLn('Found Tree');
  18. ClickMouse(object_P.X, object_P.Y, Mouse_Left);
  19. tm2 := GetSystemTime;
  20. repeat
  21. Wait(200);
  22. until ((RSCE_DownText(WHITE) = 'You swinq Wur steel axe at the tree...') or ((GetSystemTime - tm2) >= 8000));
  23. Wait(1000 + Random(200));
  24. until(IsKeyDown(113));
  25. UnSetupRSCS;
  26. end.
Add Comment
Please, Sign In to add comment