Advertisement
Guest User

Untitled

a guest
Sep 13th, 2010
1,998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.45 KB | None | 0 0
  1. HotKeySet("!x", "ToggleSpam")
  2. HotKeySet("+{ESC}", "EndSpam")
  3. Global $x
  4. 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")
  5.  
  6. While 1
  7.     While $x
  8.         MouseClick("primary")
  9.     WEnd
  10. WEnd ;FUNCTIONS
  11.  
  12. Func ToggleSpam()
  13.     $x = Not $x
  14. EndFunc ;==>ToggleSpamFunc
  15.  
  16. Func EndSpam()
  17.     Exit
  18. EndFunc ;==>EndSpam
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement