Need Help creating a Basic Script

Ask gaming related questions
Posts: 1
Joined: 08 Aug 2018, 03:17

Need Help creating a Basic Script

08 Aug 2018, 03:29

Hi Team,
can anyone help me out with a basic scrip which performs the following functions ?

* Sets the left click to 25ms delay (which causes a weapon to auto fire for the primary weapon)

* As soon as i press a button to swap to my secondary by pressing a key (lets say q). The delay goes back to its normal state

I tried creating such macro for quite some time , but failed every time. Can anyone tell me any pointers to this ? or perhaps share code for this macro. I`ll greatly appreciate it
Posts: 1621
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Need Help creating a Basic Script

09 Aug 2018, 02:12

this ?:

Code: Select all

*q::Return ;Key Q's native function will be blocked
While, GetKeyState("LButton","P") And !GetKeyState("q","P")
	Sleep, 25

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 17 guests