Advertisement
Nilt

TSW Constant Auto-Loot

Jan 26th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 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. ;This allows you to press Ctrl and the * on the NumPad to begin constantly spamming the autoloot.
  5. ;
  6. ;You only really need to copy everything below this line.
  7. ; The Secret World Constant Auto-Loot
  8. #MaxThreadsPerHotkey 1
  9. #NoEnv
  10. SendMode Input
  11. #IfWinActive The Secret World
  12.  
  13. ; Press Ctrl+Shift and the * on the Numpad to reload the script, halting the Auto-Loot.
  14. ^+NumpadMult::
  15. Reload
  16.  
  17. ; AutoLoot
  18. ; Map the secondary button for autoloot to Scroll lock in the options.
  19. ; Then press Ctrl and the * on the Numpad to start spamming Scroll lock.
  20. ^NumpadMult::
  21.  
  22. if AutoLoot
  23. {
  24. AutoLoot := false
  25. return
  26. }
  27. ; Otherwise:
  28. AutoLoot := true
  29. Loop
  30. {
  31. Send {ScrollLock}
  32. Sleep 25
  33. if not AutoLoot
  34. break
  35. }
  36. AutoLoot := false
  37. return
  38.  
  39. ; Send {ScrollLock down}
  40. ; Sleep 2
  41. ; Send {ScrollLock Up}
  42. ; Sleep 2
  43. ; if not AutoLoot
  44. ; break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement