Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #If WinActive("RuneLoader") or WinActive("Old School RuneScape") or WinActive("OSBuddy") or WinActive("Konduit Oldschool") ; 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.
- #MaxThreadsPerHotkey,2
- NumpadEnter::
- t:=!t2
- While (t){
- Click
- Random, rand, 423, 780
- Sleep % rand
- Click up
- }
- return
- Numpad3::Reload
- Numpad2::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment