I've been trying to make a code for the basic KFM 2RF ani cancel, but I've hit a bit of a confusing problem, when I code for 2-r-f-r, I get an inconsistent 2-r-f combo. When I code for 2-r-f, I get a fairly consistent 2-r-f-r combo but with an little too much delay (about 100?) between the r that is non-existent in the code and the 2 from the next loop. Here are my current codes for 2-r-f and 2-r-f-r, respectively (new to this forum, so please excuse me if I post the codes in the wrong format or something). I've played around with the timings for all of the delays from 150-300-ish, and my ping is pretty stable today so I'm fairly sure that's not the problem here =/ Any help is appreciated
1::F1()
Pause::ExitApp
F1(){
Loop
{
Getkeystate, var, 1, P
if var = U
Break
send 2
sleep, 220
send r
sleep, 210
send f
sleep, 180
}
}
return
1::F1()
Pause::ExitApp
F1(){
Loop
{
Getkeystate, var, 1, P
if var = U
Break
send 2
sleep, 220
send r
sleep, 210
send f
sleep, 180
send r
sleep, 220
}
}
return