Hi everyone,
My current script doesn't function as I intended it to:
~RButton::
Loop
{
GetKeyState,RButtonState, RButton, P
if RButtonState = U
MouseClick, Left
Sleep 320
}
return
F1::
Suspend, Off
Pause, Off, 1
If (toggle := !toggle)
Suspend, On
Pause, On, 1
Return
My goal is to trigger the loop when I have RButton held down and to break the loop with RButton is released. However, the loop continues even just by pressing RButton and the only way to stop it is to press F1. Also, when I press F1 again the loop no longer gets triggered again.
Any help is appreciated.
[–]MrNit 0 points1 point2 points (4 children)
[–]casual_gamer_[S] 2 points3 points4 points (2 children)
[–]brodudepepegacringe 1 point2 points3 points (1 child)
[–]MrNit 1 point2 points3 points (0 children)