Script to game Topic is solved

Ask gaming related questions (AHK v1.1 and older)
DarkPunch

Script to game

12 Feb 2018, 17:02

Hi, would someone have a script for the game that after clicking 2 and after clicking the left button automatically switches to the number 3 and after pressing the right button again goes back to 2?
User avatar
eventhorizon
Posts: 158
Joined: 27 Oct 2016, 14:22

Re: Script to game

13 Feb 2018, 15:05

ok to be clear here you are talking about 4 different buttons you want to control.
  • first you click 2. Exactly how do you do that with the left mouse button with the right mouse button or Using the 2 key.
  • next you want to control the 3 key. Exactly how do you do that? using the 3 button? the LButton or the RButton?
To keep it simple just two answers are needed. 1 how do you want to start the 2,3 sequence, and 2 how do you want to stop it once it's started?
for example. here's one way, this loops 10 times through the 2,3 send sequence then stops it uses just the 2 key to start the process. If you want something different you may want to analyze exactly how you would do this by hand, write down those steps, step by step, and build your routine to do just that.

Code: Select all

$2::
	suspend permit
	keywait, 2 
	count = 0
	loop 10
	{	count := mod(count,2)
		if (count)
			send 3
		else 
			send 2
		count++
	}
	return
	
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of handguns and tequila.
DarkPunch

Re: Script to game  Topic is solved

13 Feb 2018, 17:28

I need this fortnite script for slots 2 and 3 so that after the action (clicking the left mouse button) the slot changes

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 37 guests