Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MaxThreadsPerHotkey 3 ;Needed for multiple threads, 2 should work, too
- ; Buy 15 tons of powerplay-stuff from 2nd row once in the window of the contact, do 10 cycles, so 150t in one go.
- f9::
- #MaxThreadsPerHotkey 1
- if keepbuying ; underlying thread is already running the actions below?
- {
- keepbuying := false ; Signal to Stop
- return
- }
- ; Otherwise
- keepbuying := true
- Loop, 50 ; run the loop 50 times. remove number to start-stop loop with hotkey
- {
- send, d
- send, {s 2}
- send, {Space}
- sleep, 750
- send, {d 20}
- sleep, 200
- send, {Space}
- sleep, 500
- send, {Space}
- sleep, 500
- if not keepbuying ; signal to stop with 2nd press
- break ; escape this loop
- }
- keepbuying := false ; Reset for next keypress
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement