I'm a total noob and need help with the following script I found.
Code: Select all
*RButton Up::
If (Toggle := !Toggle){
Send {Click Down Right}
}
Else{
Send {RButton up}
}
Return
~$*XButton1::
if (Toggle) {
Toggle := False
send {RButton Up}
}
return
*Ins::ExitApp
It works by pressing RButton once to aim and pressing it once again to cancel aiming instead of holding RButton down during the aim process.
Alternatively I can cancel aiming by pressing XButton1 (my sprint key).
I have to press XButton1 again to sprint though.
What I want: Only in case rbutton is held down, pressing XButton1 will trigger pressing XButton1 twice,
so I can cancel aiming and start sprinting with a single keystroke.
Can someone help?
[Mod action: Topic moved from "Gaming" section of "Ask for Help (v2)" since this is v1 code.]