I am new to autohotkey and it would be cool if someone explained a script to me.
I have a code that loops LMB and W. It also has keybinds so you can stop it manually with Z and C.
My questions is: How can I add something that after 30 minutes the script stops and then continues after 1 minute. Is it possible to make it work with the Z and C keybinds that stop the script manually?
Code: Select all
^LButton::
send {LButton down}
loop
{
if getkeystate("z")
{
break
}
sleep, 50
}
send {LButton up}
return
^q::
send {W down}
loop
{
if getkeystate("c")
{
break
}
sleep, 50
}
send {W up}
return