If you press Q once, send "a".
If you press Q twice, send "b".
If you press Q three times, send "c".
If you press Q four times, send "d".
But, I need this way:
If you press once, send "a".
If you press twice, send "b"...
[ Combo Break ] (I need that stop if...)
— If you press other key than Q;
— If you take too long to press any key (Q included);
...reset and return to time 1...
Then...
If you press once, send "a".
My code:
Code: Select all
q::
Send, % ["a","b","c","d"][(count >= 4 || !count)? count := 1 : ++count]
return