zamaro

Login script for RS

Mar 24th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #NoEnv
  2. #singleinstance force
  3. Process, Priority, , High
  4.  
  5. SetKeyDelay, 0 ; makes AHK type out sentences in an instant.
  6.  
  7. sleep1=100 ; Wait times
  8. sleep2=200 ; In MS
  9.  
  10. #If WinActive("Orion") ; If this window is active (global)
  11.  
  12. F1:: ; The key that activates it.
  13. send Username Here types user;.
  14. gosub sleeping ; Sleeps random number between sleep1 and 2.
  15. send {enter} '; presses enter.
  16. send Password Here ; types password;
  17. gosub sleeping ; sleeps./
  18. send {enter} ; presses enter s
  19. return
  20.  
  21.  
  22. Sleeping:
  23. Random, Rand, Sleep1, Sleep2
  24. sleep %rand%
  25. return
  26.  
  27.  
  28.  
  29. Ran(Num)
  30. {
  31. Random, r, -1*Num, Num
  32. Return r
  33. }
Advertisement
Add Comment
Please, Sign In to add comment