I have recently discovered Kripparian's Alternative To Button Mashing, which enabled me to play the game without developing finger rsi. Some guy in the comments posted one where I can add a key to hold->spam so i don't have to create 20 scripts for each of the keys. It works flawlessly with letters and number keys above them, but when it comes to the F1-F12 keys or combinations like Shift+t I am clueless about how to do that.
Code: Select all
~r::Hold_Down("r")
~t::Hold_Down("t")
~e::Hold_Down("e")
~y::Hold_Down("y")
Hold_Down(key) {
loop
{
GetKeyState, ScrollLockState, ScrollLock, T
if (ScrollLockState = "U") {
break
} else {
send %key%
Sleep, 40
GetKeyState, state, %key%, P
if state = U ;
break
}
}
return
}
Can anyone help me incorporate those into this one or into the separate one?