Shoot Semi-Auto guns with automatic speed! This is a risk-free software mod, so there's no way you can permanently screw up your mouse/joystick.
The Xbox 360 can do it, and after following this tutorial, all you PC gamers can too! I'll show you how to do it with AutoIt, a free Windows automation language.
Note, if you don't want to write the script yourself, you can download the compiled version on step 5.
Remove these ads by
Signing UpStep 1Download and Install Autoit
| « Previous Step | Download PDFView All Steps | Next Step » |







































1 - EndFunc ;==>ToggleSpamFunc <--- Needs to be
EndFunc ;==>ToggleSpam
2 - EndSpam() <--- Needs to be
Func EndSpam()
3 - Global
$xMsgBox(0, "MouseSpaz", "Alt+X Starts the spaz (press both keys with your left thumb)" & @LF & @LF & "Pressing Alt+X again will stop the spaz" & @LF & @LF & "Shift+Esc will quite the program") <--- Needs to be
Global %x
MsgBox(0, "MouseSpaz", "Alt+X Starts the spaz (press both keys with your left thumb)" & @LF & @LF & "Pressing Alt+X again will stop the spaz" & @LF & @LF & "Shift+Esc will quite the program")
This is also all concatenated together in your pastebin version.
4 - Your while loops need to be inside the ToggleSpam function.
5 - Pretty sure the while loop checking '1' is like saying "if 1 == 1", though I don't know this language to be sure. It's harmless anyway, just a nitpick.
Test your code man! :P Peace.
Now I know you don't know this language, so let me help you out: your first correction is correcting a comment, which really has no bearing on anything at all. The while loops cannot to be in the ToggleSpam func because what you call a harmless redundacy is actually the main loop of the program and is what causes the program to keep checking for hotkey commands during its life.
I thank you for bringing to my attention the errors, however found the tone of your message supremely annoying. :P Peace.
http://pastebin.com/1W9Nms4w this is the modified version I sent my friend. I'm assuming AutoIt activates the togglespam function every time its associated key is pressed, even while another function is running. In this case, $x will successfully be toggled on/off each time the function is called, and indeed, the while loop will only be checked once after the call, which is the only time it needs to be checked. It will begin looping only after the function is called during a 'toggle on' phase, possibly saving a few CPU cycles.
Sorry if I offended, was being a little snarky I admit.
Don't worry about it! Thanks for not exploding like oh so many other people do online when confronted with conflicting viewpoints :D
Thanks.
I scanned the file with Avast Antivirus, and found it contained a trojan. Then again, avast sometimes thinks autoit programs are viruses. I wouldn't be surprised if this was done in AutoIt too.
For the record, the program can be downloaded at the end of my instructable, although for some reason it has the file extension .tmp. A simple rename to .exe will have it up and running.
(the link links to a TMP file)