Is it possible to make an auto clicker toggle after surpassing a specific cps?

Ask gaming related questions (AHK v1.1 and older)
bitesized39
Posts: 4
Joined: 13 Apr 2021, 10:46

Is it possible to make an auto clicker toggle after surpassing a specific cps?

13 Apr 2021, 10:55

I need help with an auto clicker that will automatically toggle right click after surpassing 8cps and deliver about 17-20cps, and automatically turn off once I leave the clicking range/stop clicking. I know this is a lot, but if anyone in this community believes this is either impossible or is aware of any other possible solutions please reply back to me. Thanks. happy 2 years with the AHK community :D
User avatar
jasc2v8
Posts: 59
Joined: 10 Dec 2020, 12:24
Contact:

Re: Is it possible to make an auto clicker toggle after surpassing a specific cps?

13 Apr 2021, 11:09

I assume cps is "clicks per second"?
How are you achieving the 8cps - with a script versus manually?
I have good success in games with a key delay of 30-33 ms so yes, 20 cps is possible.
Do you have a sample script we can review?
User avatar
Hellbent
Posts: 2109
Joined: 23 Sep 2017, 13:34

Re: Is it possible to make an auto clicker toggle after surpassing a specific cps?

13 Apr 2021, 14:29

This should do the trick.

Code: Select all

#SingleInstance, Force
return
*ESC::ExitApp

NumPad1::
	if(Tog:=!Tog){
		SetTimer, CheckCount, 1000
		Count := 0
		Active := 0
		FazeCount := 0
		SoundBeep, 500
	}else{
		SetTimer, CheckCount, Off
		Loop 3
			SoundBeep, 999
	}
	return
	
ClickRoutine:
	SoundBeep, 500
	;Click  ;<------------------------------------
	return
	
CheckCount:
	ToolTip,% "Count: " Count "`nFazeCount: " FazeCount "`nActive: " Active 
	if(Count >= 8 ){
		if( ++FazeCount >= 3 && FazeCount := 3 ){
			if( !Active ){
				Active := 1 
				SetTimer, ClickRoutine, 60
			}
		}
	}else if( Count < 8 ){
		if( --FazeCount <= 0 && !FazeCount := 0 ){
			if( Active ){
				Active := 0
				SetTimer, ClickRoutine, Off
			}
		}
	}
	Count := 0
	return
	
#If (Tog && Active)
*LButton::
	Count++
	return
#If (Tog && !Active)
*~LButton::
	Count++
	return
#If 


bitesized39
Posts: 4
Joined: 13 Apr 2021, 10:46

Re: Is it possible to make an auto clicker toggle after surpassing a specific cps?

14 Apr 2021, 16:04

@Hellbent It didn't work for me. My cps didn't change at all.
User avatar
Hellbent
Posts: 2109
Joined: 23 Sep 2017, 13:34

Re: Is it possible to make an auto clicker toggle after surpassing a specific cps?

15 Apr 2021, 11:39

bitesized39 wrote:
14 Apr 2021, 16:04
@Hellbent It didn't work for me. My cps didn't change at all.
Did you add the click code? did you press Numpad1 to toggle the script? did you use the Left button to test or did you change it to another key?

You can change the threshold to a lower value to test. Change the two "8's" to "3's"
bitesized39
Posts: 4
Joined: 13 Apr 2021, 10:46

Re: Is it possible to make an auto clicker toggle after surpassing a specific cps?

10 May 2021, 16:43

Srry for the late reply ive been busy with some school stuffs and graduating yeah idk what the click code is, and yes I changed the cps threshold as well as clicked 1. I found out clciking the 1 on the top of the keyboard is not the same as the 1 on the right side of the keyboard on the numpad. The code doesnt give me extra cps and it starts beeping after a couple seconds and doesnt register any clicking bringing the cps back to 0.
User avatar
Hellbent
Posts: 2109
Joined: 23 Sep 2017, 13:34

Re: Is it possible to make an auto clicker toggle after surpassing a specific cps?

11 May 2021, 20:05

bitesized39 wrote:
10 May 2021, 16:43
The code doesnt give me extra cps and it starts beeping after a couple seconds and doesnt register any clicking bringing the cps back to 0.
Take this:

Code: Select all

ClickRoutine:
	SoundBeep, 500
	;Click  ;<------------------------------------
	return
And change it to:

Code: Select all

ClickRoutine:
	;SoundBeep, 500
	Click  ;<------------------------------------
	return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Stpham and 73 guests