Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WinActivate("Dota 2")
- HotKeySet("g","start");The hotkey that starts the programs loop
- HotKeySet("e", "end")
- While 1
- Sleep(10)
- WEnd
- Func End()
- Exit 0
- EndFunc
- Func Start()
- Global $x = 274
- Global $y = 246
- While 1
- If $x > 1269 Then
- $x = 274
- $y += 50
- EndIf
- If $y > 873 Then
- $y = 246
- EndIf
- $x += 100
- MouseMove($x, $y, 0)
- MouseClick("primary",$x,$y, 1, 0)
- WEnd
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment