BunnyHop script, but how do I stop it? Topic is solved

Ask gaming related questions (AHK v1.1 and older)
ThomasYoussef03
Posts: 4
Joined: 15 Dec 2016, 09:14

BunnyHop script, but how do I stop it?

07 Sep 2017, 13:34

Hello, I would like to ask if anyone can fix an error in my script without an extremely complex and long script, just to be sure I don't mess up something :/

Code: Select all

!Q::
IfWinActive, BLOCKADE3D
{
loop, 25
{
IfWinNotActive, BLOCKADE3D
{
Exit
}
Send, {Space}
Sleep, 630
}

+F::
Exit
}
I wanted F to stop the script from keeping bunnyhopping, but even if I press Shift + F, it won't stop it at all, and I have to wait till the 25 jumps are done. Thanks to anyone who tries to help their best.
User avatar
Reloaded
Posts: 283
Joined: 25 Aug 2017, 08:48

Re: BunnyHop script, but how do I stop it?

11 Sep 2017, 07:40

Hi :D

Code: Select all

#MaxThreadsperHotkey 2
f::
toggle := !Toggle
loop
{
if toggle
{
!Q::
IfWinActive, BLOCKADE3D
{
loop, 25
{
IfWinNotActive, BLOCKADE3D
{
Exit
}
Send, {Space}
Sleep, 630
}

+F::
Exit
}

}

else
	break
}
return
ThomasYoussef03
Posts: 4
Joined: 15 Dec 2016, 09:14

Re: BunnyHop script, but how do I stop it?

13 Sep 2017, 17:04

It doesn't stop the bunnyhop script, because since space is being sent, the hotkey gets ignored.

Also, if any staff member saw this, please remove the green marking, as I didn't mention to mark is as solved.
yessorryno
Posts: 22
Joined: 12 Sep 2017, 03:13

Re: BunnyHop script, but how do I stop it?

14 Sep 2017, 00:17

Hi,

Try the following.

!Q::
IfWinActive, BLOCKADE3D
{
loop, 25
{
IfWinNotActive, BLOCKADE3D
{
Exit
}
Send, {Space}
Sleep, 630
}
}

+F::
Exit
return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 75 guests