; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey ; https://www.autohotkey.com ; ; Front Matter ; ; Include relevant libraries #Include ../lib/Prelude.ahk #Include ../lib/HoldRepeat.ahk ; Make this a wrapper script WrapperPath := Format("C:\Program Files (x86)\Steam\steam.exe -applaunch 892970 --doorstop-enable true --doorstop-target {1}\r2modmanPlus-local\Valheim\profiles\Medusa\BepInEx\core\BepInEx.Preloader.dll",A_AppData) WrapperWindow:="Valheim" #Include ../lib/Wrapper.ahk ; ; Hotkeys ; ; Hold E *#e UP::Hold("e",["LButton", "RButton","q","r"]) ; Autorun *#w UP::Hold("w",["s"]) *#Shift UP::Hold("Shift",["Ctrl"]) ; Autoclick *#LButton UP::HoldOrRepeat("LButton",["RButton","MButton"]) *#RButton UP::HoldOrRepeat("RButton",["LButton","MButton"])