Advertisement
RSJosh

Construction AHK

Feb 5th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. #IfWinActive ahk_exe OSBuddy.exe
  2. 2::
  3. Click Right
  4. return
  5. 3::
  6. MouseMove, 0, 75, 0, R
  7. return
  8. 4::
  9. Click left
  10. return
  11. 5::
  12. Send, 1
  13. return
  14.  
  15. t::
  16. BlockInput On
  17. X+=1
  18.  
  19. if(X==1){
  20. MouseMove, 51+Rand(8), 224+Rand(8), 0
  21. X==0
  22. Sleep, 2000
  23. }
  24.  
  25. BlockInput Off
  26. Return
  27.  
  28. w::
  29. Click Right
  30. return
  31. e::
  32. MouseMove, 0, 50, 0, R
  33. Return
  34. r::
  35. Click left
  36. return
  37.  
  38. y::
  39. Click left
  40. return
  41.  
  42. BlockInput On
  43. X==0
  44. BlockInput Off
  45. Return
  46.  
  47. capslock::suspend
  48. f12::reload
  49.  
  50. Rand( a=0.0, b=1 ) {
  51. IfEqual,a,,Random,,% r := b = 1 ? Rand(0,0xFFFFFFFF) : b
  52. Else Random,r,a,b
  53. Return r
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement