Nilt

TSW Auto-Attack for farms

Jan 26th, 2017
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. ;First, download and install AutoHotKey from here: http://ahkscript.org/
  2. ;Once that is installed, copy everything here into a text file and make the extension .ahk
  3. ;You can then double click it to run.
  4. ;
  5. ;This allows you to press Alt and the - on the NumPad to begin spamming your attack in slot 1.
  6. ;
  7. ;You only really need to copy everything below this line.
  8. ; The Secret World Constant Auto-Attack for farms
  9. #MaxThreadsPerHotkey 1
  10. #NoEnv
  11. SendMode Input
  12. #IfWinActive The Secret World
  13.  
  14. ; Press Ctrl+Shift and the - on the Numpad to reload the script, halting the auto-attack.
  15. ^+NumpadSub::
  16. Reload
  17.  
  18. ; AutoKill
  19. ; Press Alt and the - on the Numpad to start spamming your attack in slot 1.
  20. ; To stop, press the hotkey again.
  21. !NumpadSub::
  22. if AutoKill
  23. {
  24. AutoKill := false
  25. return
  26. }
  27. ; Otherwise:
  28. AutoKill := true
  29. Loop
  30. {
  31. Send {1 down}
  32. Sleep 2
  33. Send {1 Up}
  34. Sleep 2
  35. if not AutoKill
  36. break
  37. }
  38. AutoKill := false
  39. return
Advertisement
Add Comment
Please, Sign In to add comment