zamaro

Login script

Mar 24th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 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. IfWinActive, Orion ; If this window is active (local)
  14. {
  15. Blockinput on ; Blocks user input.
  16. send Username Here types user;.
  17. gosub sleeping ; Sleeps random number between sleep1 and 2.
  18. send {enter} '; presses enter.
  19. send Password Here ; types password;
  20. gosub sleeping ; sleeps./
  21. send {enter} ; presses enter
  22. Blockinput off ; removes block.
  23. }
  24. return
  25.  
  26.  
  27. Sleeping:
  28. Random, Rand, Sleep1, Sleep2
  29. sleep %rand%
  30. return
  31.  
  32.  
  33.  
  34. Ran(Num)
  35. {
  36. Random, r, -1*Num, Num
  37. Return r
  38. }
Advertisement
Add Comment
Please, Sign In to add comment