Put a 3 seconds countdown to this script Topic is solved

Ask gaming related questions (AHK v1.1 and older)
MrFlapWing
Posts: 7
Joined: 16 Feb 2020, 08:49

Put a 3 seconds countdown to this script

18 Feb 2020, 04:28

The script has a delay which is it activates in 3 seconds so I want a countdown for that to know that it turned on


*$F1::
run C:\Program Files\NetBalancer\nbcmd.exe settings priorities edit deadbydaylight-win64-shipping.exe Normal Blocked true,,hide
SetTimer, *$F2, -14000
return
*$F2::
SetTimer, *$F2, Off
run C:\Program Files\NetBalancer\nbcmd.exe settings reset true,,hide
Return
Rohwedder
Posts: 7732
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Put a 3 seconds countdown to this script  Topic is solved

18 Feb 2020, 05:54

Hallo,
perhaps:

Code: Select all

*$F1::
run C:\Program Files\NetBalancer\nbcmd.exe settings priorities edit deadbydaylight-win64-shipping.exe Normal Blocked true,,hide
SetTimer, *$F2, -14000
Loop, 3
{
	ToolTip,% 4- A_Index
	Sleep, 1000
}
ToolTip
return
*$F2::
SetTimer, *$F2, Off
run C:\Program Files\NetBalancer\nbcmd.exe settings reset true,,hide
Return
Or:

Code: Select all

*$F1::
run C:\Program Files\NetBalancer\nbcmd.exe settings priorities edit deadbydaylight-win64-shipping.exe Normal Blocked true,,hide
SetTimer, *$F2, -14000
SetTimer, CountDown, -1
return
*$F2::
SetTimer, *$F2, Off
run C:\Program Files\NetBalancer\nbcmd.exe settings reset true,,hide
Return
CountDown:
Loop, 3
{
	Progress, M B2 W30 FS18 ZH0,% 4 - A_Index
	Sleep, 1000
}
Progress, Off
Return
MrFlapWing
Posts: 7
Joined: 16 Feb 2020, 08:49

Re: Put a 3 seconds countdown to this script

19 Feb 2020, 10:07

Bro. this guy is the best!

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 18 guests