Thumbnail made by @Tsukiyomino
Strats are from the speedrun discord server
[ Ссылка ]
Macro
#Persistent
count := 0
SetTimer, CheckForKey, 10 ; Check every 10 milliseconds
return
CheckForKey:
If GetKeyState("c", "P") ; Check if the 'C' key is pressed
{
count++ ; Increment the count
if (count = 1) {
SetTimer, PressTwo, (A few miliseconds before run it back ends) ; For the first press, send "2" after 10.3 seconds
} else if (count = 2) {
SetTimer, PressV, (Any time this doesn't matter just have any number here) ; For the second press, send "V" after 100 milliseconds
} else if (count = 3) {
SetTimer, PressZero, (same as the first one but slightly later) ; For the third press, send "0" after 10.4 seconds
count := 0 ; Reset the count after sending "0"
}
SetTimer, CheckForKey, Off ; Turn off the key checking timer
}
return
PressTwo:
Send, 2
SetTimer, PressTwo, Off ; Turn off the timer after sending 2 once
SetTimer, CheckForKey, 10 ; Restart the key checking timer
return
PressV:
Send, v
SetTimer, PressV, Off ; Turn off the timer after sending V once
SetTimer, CheckForKey, 10 ; Restart the key checking timer
return
PressZero:
Send, 0
SetTimer, PressZero, Off ; Turn off the timer after sending 0 once
SetTimer, CheckForKey, 10 ; Restart the key checking timer
return
![](https://s2.save4k.ru/pic/pdU8zxFQAmY/maxresdefault.jpg)