Auto shot pause

Ask gaming related questions (AHK v1.1 and older)
Daniel1133
Posts: 2
Joined: 16 Dec 2017, 16:36

Auto shot pause

16 Dec 2017, 16:51

!LButton::
loop, 10
{
send {Lbutton}
}
return
------------------------------------------
So I want when ever I press "P" the script will pause and unpause.
User avatar
Dumitas
Posts: 167
Joined: 14 Dec 2017, 21:32

Re: Auto shot pause

16 Dec 2017, 22:34

Code: Select all

p::suspend 
!LButton::
loop, 10
{
send {Lbutton}
}
return
That should do.

You need to suspend the script in order to "pause" it, because if you use p::pause it start over with the script hotkey (LButton) wich defy the purpose of a pause.
Image

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 69 guests