Page 1 of 1

Need help activating and deactivating this script.

Posted: 21 Aug 2019, 03:59
by communitygarbage
I'm playing Apex and I want to use the single-fire using the Mwheeldown that auto-fires for me. But whenever I use the script I'm using now, it fucks up when I'm looting or scrolling through settings. Is there a way I can, for example, press the key "ALT" once and it will activate the WheelDown to fire and press "ALT" again so it becomes inactive? Like a pause and resume.

SendMode, Input

WheelDown::

Loop, 6
{
Send, {LButton Down}
Sleep, 20
Send, {LButton Up}
Sleep, 20
}

return

Re: Need help activating and deactivating this script.

Posted: 21 Aug 2019, 05:09
by Sir Teddy the First
There you go:

Code: Select all

SendMode, Input
ScriptRunning:= false

Alt::
ScriptRunning := !ScriptRunning
return

#If ScriptRunning
WheelDown::
Loop, 6
{
	Send, {LButton}
	Sleep, 20
	Send, {RButton}
	Sleep, 20
}
return

#If
The script is turned off by default, meaning you have to press the Alt-Key to activate it.
If you want to change this behaviour, just change "ScriptRunning := false" to "true".

Re: Need help activating and deactivating this script.

Posted: 23 Aug 2019, 08:31
by communitygarbage
thanks brother slr

Re: Need help activating and deactivating this script.

Posted: 29 Aug 2019, 09:48
by communitygarbage
@Sir Teddy the First
Hey bro, it's a bit late but whenever I use this it removes aiming down sights. When I right click for ADS and use the script it goes back to hipfire.

Re: Need help activating and deactivating this script.  Topic is solved

Posted: 29 Aug 2019, 15:35
by Dumitas
@communitygarbage That's because the script sends right-click again.

Re: Need help activating and deactivating this script.

Posted: 02 Sep 2019, 19:21
by communitygarbage
@Dumitas Ohhh, I fixed it. Thanks brother