

Here are some helpful links to get you started customizing these:Įdited by nimda, 06 August 2015 - 10:35 PM.

To have any key exit the loop, see this example. Return*The toggle works well for this purpose as well comma separated.Ĭounter := (Counter=list0) ? (1) : (Counter+1)Īnd, by very popular request, two cut and paste (Voila! It works!) autoclickers: *

While GetKeyState("a","p") the list of keys and combos. KeyWait a, T0.5 Wait 1/2 second for user to release "a" key Return The Simple Pause: (Press F8 to toggle state i.e., once on, two off.)į8::Pause The Hold-Down: (key retains functionality unless held down) Return The Self-Sender: (emulates auto-repeat) (hold down the key to do action) Warning: If the hotkey used by the Toggle is input faster than the loop executes, the maximum number of simultaneous threads per hotkey can be exceeded, which leaves the execution "stuck" in a spamming state (reference Leef_me's explanation). The Toggle: (Press once to start, again to stop, etc like the simple pause) ReturnIf you find the ternary ( ? : ) operator difficult, check out the ternary guide by or use the other SetTimer method. Return The SetTimer (ternary version, by None, doesn't use resources when off):į7::SetTimer, Spam, % (i:=!i) ? "100" : "Off" uses ternary The SetTimer: (Same as the simple pause, but allows other code to run) There are several types of loops that can be made: You can replace this with your own code in any of the spots. Most scripts will click, type 'a', and wait 1/10 of a second during its loop.

After the title of most is a one-line explanation of how to use it. It aims to keep the scripts very short (enough to fit in a non scrolling code box) but at the same time be very clear. Here, you will find many different ways to spam keys, repeat actions, etc. This is the one size fits all autofire thread. Keywords: rapidclick auctoclick fast toggle fire shoot rapid key press repeatedly press keys mouse spam key spam toggle key press autofire autopress rapidfire cycle COD MW2 MWF2 MW CSS CS:S Cheat macro hack The definitive autofire thread by nimdaĪt the bottom of this post you will find two ready-to-go autoclickers/RapidClickers!
