Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #CommentFlag //
- // INSTRUCTIONS
- // WinKey + left click: Start clicking
- // WinKey + right click: Stop clicking
- // WinKey + Up/Down: Increase/decrease clicks per unit of time
- // WinKey + Scroll Up/Down: Increase/decrease clicks per unit of time
- Hotkey, #Up, Off
- Hotkey, #Down, Off
- Hotkey, #WheelUp, Off
- Hotkey, #WheelDown, Off
- Hotkey, #$RButton, Off
- DELAY_MIN := 50
- DELAY_MAX := 10000
- STEP_MULTIPLIER := 50
- stepDelay := 1
- mouseDelay := 100
- #$LButton::
- Hotkey, #Up, On
- Hotkey, #Down, On
- Hotkey, #WheelUp, On
- Hotkey, #WheelDown, On
- Hotkey, #$RButton, On
- stepDelay := 1
- mouseDelay := 100
- CPS := Format("{:0.2f} CPS", 1000/mouseDelay)
- SplashImage,, b fs18, %CPS%
- Sleep, 500
- SplashImage, Off
- SetTimer, delayedClick, %mouseDelay%
- return
- #$RButton::
- Hotkey, #Up, Off
- Hotkey, #Down, Off
- Hotkey, #WheelUp, Off
- Hotkey, #WheelDown, Off
- Hotkey, #$RButton, Off
- SetTimer, delayedClick, Off
- return
- #Up::
- if (stepDelay > 0) {
- stepDelay--
- mouseDelay := STEP_MULTIPLIER * stepDelay + DELAY_MIN
- }
- CPS := Format("{:0.2f} CPS", 1000/mouseDelay)
- SplashImage, , b fs18, %CPS%
- Sleep, 200
- SplashImage, Off
- SetTimer, delayedClick, Off
- SetTimer, delayedClick, %mouseDelay%
- return
- #Down::
- if ((STEP_MULTIPLIER * (stepDelay + 1)) + DELAY_MIN <= DELAY_MAX) {
- stepDelay++
- mouseDelay := STEP_MULTIPLIER * stepDelay + DELAY_MIN
- }
- CPS := Format("{:0.2f} CPS", 1000/mouseDelay)
- SplashImage, , b fs18, %CPS%
- Sleep, 200
- SplashImage, Off
- SetTimer, delayedClick, Off
- SetTimer, delayedClick, %mouseDelay%
- return
- #WheelUp::
- if (stepDelay > 0) {
- stepDelay--
- mouseDelay := STEP_MULTIPLIER * stepDelay + DELAY_MIN
- }
- CPS := Format("{:0.2f} CPS", 1000/mouseDelay)
- SplashImage, , b fs18, %CPS%
- Sleep, 200
- SplashImage, Off
- SetTimer, delayedClick, Off
- SetTimer, delayedClick, %mouseDelay%
- return
- #WheelDown::
- if ((STEP_MULTIPLIER * (stepDelay + 1)) + DELAY_MIN <= DELAY_MAX) {
- stepDelay++
- mouseDelay := STEP_MULTIPLIER * stepDelay + DELAY_MIN
- }
- CPS := Format("{:0.2f} CPS", 1000/mouseDelay)
- SplashImage, , b fs18, %CPS%
- Sleep, 200
- SplashImage, Off
- SetTimer, delayedClick, Off
- SetTimer, delayedClick, %mouseDelay%
- return
- delayedClick:
- SetControlDelay -1
- ControlClick, x130 y530, WallHack_Inc,,,,Pos
- return
Add Comment
Please, Sign In to add comment