20 Minutes Till Dawn – How to Avoid Arthritis when Playing Abby

Tired of spamming right click before you finish reloading? Want to simply hold down the right mouse button for Abby’s speeen attack? I’ve written an AHK script to do exactly that.

Installation and Code

To get started, install AutoHotkey (Windows only). Then create a .ahk file and copy & paste this code:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#If WinActive("ahk_exe MinutesTillDawn.exe") ; script will only run when game window is active
Pause::suspend

~*$RButton::
	KeyWait, RButton, T0.350
	If ErrorLevel
	{
		#MaxHotkeysPerInterval 20000
		#HotkeyInterval 20
		SetKeyDelay, -1, -1
		Loop
		{
			If !GetKeyState("RButton", "P")
				Break
			Send {RButton}
			Sleep 80
		}
	}
	Return

Instructions

Then run the script and play the game. Holding down right-mouse button for over a quarter of a second will spam Abby’s special attack until you stop holding it down. This script will only run when the game window is active, so don’t worry about closing the script after playing the game.

You May Also Like


Be the first to comment

Leave a Reply

Your email address will not be published.


*