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.

Helena Stamatina
About Helena Stamatina 3012 Articles
I love two things in life, games and sports. Although sports were my earliest interest, it was video games that got me completely addicted (in a good way). My first game was Crash Bandicoot (PS1) from the legendary studio Naughty Dog back in 1996. I turned my passion for gaming into a job back in 2019 when I transformed my geek blog (Re-actor) into the gaming website it is today.

Be the first to comment

Leave a Reply

Your email address will not be published.


*