Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Payday 2 EZinteract. V0.1 (02.02.2014)
- ; Programmed by Derathor. Enjoy :)
- ~4:: ;4 is the defined hotkey. ~ makes it so that the native key function also works.(is not blocked)
- Send, {f down} ;hold down the f button.
- stoprunning= ;check if stoprunning is triggered. (f pressed)
- KeyWait, 4 ;wait for release of this hotkey before Loop starts...
- Loop { ;infinite loop.
- KeyWait, 4, D T.019 ;wait for key 4 to be pressed, or time out, setting the error level = 1.
- if (stoprunning || !errorlevel) { ; "||" is logical OR.
- Send {f up} ; release the f key.
- break ; break the loop.
- }
- }
- return
- ~f::stoprunning=1 ;when f is pressed, stop the loop. Also sends native f key when pressed in-game.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement