xegaJ

[Cooking] 1 tick Karambwans

Oct 8th, 2016
1,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Contact me for any questions on Reddit: /u/xegaJ
  2.  
  3. #If WinActive("RuneLoader") or WinActive("Old School RuneScape") or WinActive("OSBuddy") or WinActive("OSBuddy Pro") ; This piece of code makes sure that the AHK script only works in a specific program/game window, this comes in handy if you don't feel like suspending/pausing the AHK script whenever you want to use the keys in another window such as Chrome/Netflix. Change it to "OSBuddy"/"OSBuddy Pro"/"RuneLoader" if you're using any 3rd party client.
  4.  
  5. numpad3::Mousemove, 100,200 ,0 ,R
  6. return
  7.  
  8. x::Mousemove, -445,-235 ,0 ,R
  9. return
  10.  
  11. numpad1::Mousemove, 345,35,0 ,R
  12. return
  13.  
  14. z:click
  15. return
  16.  
  17. c:click
  18. return
  19.  
  20. numpad2::Click
  21. return
  22.  
  23. a::mousemove, -25, -40, 1, R
  24. return
  25.  
  26. s::click right
  27. return
  28.  
  29. d::mousemove, 0, 70, 1, R
  30. return
  31.  
  32. q::click
  33. return
  34.  
  35. w::mousemove, 68, -320, 1, R
  36. return
  37.  
  38. e::click
  39. return
  40.  
  41. 1::mousemove, 220, 430, 1, R
  42. return
  43.  
  44. 2::click
  45. return
  46.  
  47. 3::Mousemove, -445,-235 ,0 ,R
  48. return
  49.  
  50. v::click right
  51. return
  52.  
  53. b::mousemove, 0, 38, 1, R
  54. return
  55.  
  56. n::click
  57. return
  58.  
  59.  
  60. `:: ; Pressing ` (~/console key) turns the AHK icon in your system tray to red to let you know that's it's suspended.
  61.     Suspend, Permit
  62.     if not A_IsSuspended
  63.     {
  64.         Menu, Tray, Icon, %A_AhkPath%, 5, 1
  65.         Suspend, On
  66.     }
  67.     else
  68.     {
  69.         Menu, Tray, Icon, %A_AhkPath%, 1, 0
  70.         Suspend, Off
  71.     }
  72.     return
Advertisement
Add Comment
Please, Sign In to add comment