Last active
November 14, 2021 02:26
-
-
Save aeristhy/32ee1d61436b3c2dadf3271574302039 to your computer and use it in GitHub Desktop.
Dota2 Neutral Item Swapper 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 does not work on heroes with more than 6 skills(heroes like Invoker etc.) but if you want, you can replace the x & y postion. | |
#SingleInstance, Force | |
CoordMode, Mouse | |
SetDefaultMouseSpeed, 2 | |
var = 1 | |
slot(){ | |
Click down 1275, 1050 | |
Click up 1340, 995 | |
return | |
} | |
returnSlot(){ | |
Click down 1275, 1050 | |
Click up 1340, 995 | |
return | |
} | |
v:: | |
MouseGetPos, xpos, ypos | |
if(var == 1){ | |
slot() | |
var = 0 | |
} | |
else { | |
returnSlot() | |
var = 1 | |
} | |
MouseMove, %xpos%, %ypos% | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment