Sorry if the subject's a bit too vague, I just don't know how to explain what I'm trying to do in one sentence.
So I have this script that basically forces you to alternate keys (F and J) while playing.
It stops you from pressing the same key twice (be it F or J), forcing you to constantly switch between the two ( j f j f j f j f )
It's basically a tool to help people learn a specific style of playing where you alternate every key all the time, never pressing the same key twice.
This is what it looks like:
Code: Select all
CurrentKey := 0
*j::
if (CurrentKey = 0) {
SetKeyDelay -1
Send {Blind}{j Down}
CurrentKey := 1
}
return
*j up::
SetKeyDelay -1
Send {Blind}{j Up}
return
*f::
if (CurrentKey = 1) {
SetKeyDelay -1
Send {Blind}{f Down}
CurrentKey := 0
}
return
*f up::
SetKeyDelay -1
Send {Blind}{f Up}
return
And so sometimes you get patterns like so "small BIG small" that in the full alternator playstyle should be played by either pressing "f FJ/JF j" or "j FJ/JF f" but the script doesn't allow you to do so and forces you to either play it as "f J f" or "j F j"
So I wondering if there's any way to fix this, maybe make it so that when you press F and J at the same time (FJ/JF) the script skips or ignores it and just keeps working from where it's left off.
For example you press "f", and then when you press FJ/JF the script ignores it and continues the way it would've continued if you didn't press FJ/JF, so the next button that should be pressed would be "j" allowing you to play patterns like "small BIG small" just fine.
I'm sorry if any of this is a confusing, the code I have so far wasn't written by me, I think I understand it after going over it a couple of times but I've no idea how to add something like what I've described above.
Maybe there's a different way one could make playing big notes possible but I couldn't come up with anything else.
Any help would be appreciated :3