Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. program AutoType;
  2. //{$DEFINE SMART}
  3. //{$i srl/srl/misc/smart.simba}
  4. {$i SRL-OSR/srl.simba}
  5.  
  6. Const
  7. Message0=('insert message here');
  8.  
  9. {Procedure DeclarePlayers;
  10. begin
  11. HowManyPlayers := 1;
  12. NumberOfPlayers(HowManyPlayers);
  13. CurrentPlayer := 0;
  14. with Players[0] do
  15. begin
  16. Name := 'sa';
  17. Pass := 'ar';
  18. BoxRewards := ['XP','xp','lamp'];
  19. //LampSkill := 'Fishing';
  20. Active := True;
  21. end;
  22. end; }
  23.  
  24. procedure Autotyping;
  25. begin
  26. repeat
  27. Wait(510000+Random(300000)); //increase number to slow down. decrease to speed up
  28. Case Random(5) Of
  29. 0: TypeByte(VK_LEFT);
  30. 1: TypeByte(VK_RIGHT);
  31. 2: TypeByte(VK_UP);
  32. 3: TypeByte(VK_DOWN);
  33. 4: TypeByte(VK_ENTER);
  34. 5: TypeByte(VK_ENTER);
  35. end;
  36.  
  37. Until(False)
  38. end;
  39.  
  40. begin
  41. SetupSRL;
  42. ActivateClient;
  43. Disguise('S2i');
  44. // DeclarePlayers;
  45. repeat Autotyping
  46. until(false);
  47. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement