Created
September 6, 2017 20:29
-
-
Save NixonInnes/6c77d9a0af00651890ba532fe3e32f6c to your computer and use it in GitHub Desktop.
Diablo III Autocast Autohotkey Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; This is an AutoHotKey script designed to be used with Diablo III | |
; Pressing F1 will constantly activate skill 1, F2 will activate skill 2, F3 for 3, and F4 for 4 | |
; The keys are togglable. | |
Thread, interrupt, 0 | |
togF1 := 0 | |
$F1:: | |
togF1 := !togF1 | |
if (togF1) { | |
SetTimer, RepeatOne | |
} | |
else { | |
SetTimer, RepeatOne, Off | |
} | |
return | |
RepeatOne: | |
Send {1} | |
return | |
togF2 := 0 | |
$F2:: | |
togF2 := !togF2 | |
if (togF2) { | |
SetTimer, RepeatTwo | |
} | |
else { | |
SetTimer, RepeatTwo, Off | |
} | |
return | |
RepeatTwo: | |
Send {2} | |
return | |
togF3 := 0 | |
$F3:: | |
togF3 := !togF3 | |
if (togF3) { | |
SetTimer, RepeatThree | |
} | |
else { | |
SetTimer, RepeatThree, Off | |
} | |
return | |
RepeatThree: | |
Send {3} | |
return | |
togF4 := 0 | |
$F4:: | |
togF4 := !togF2 | |
if (togF4) { | |
SetTimer, RepeatFour | |
} | |
else { | |
SetTimer, RepeatFour, Off | |
} | |
return | |
RepeatFour: | |
Send {4} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. work.
ps.
"togF4 := !togF2" should be "togF4 := !togF4"