Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance Force
- #NoEnv
- #Warn
- SendMode Input
- #Persistent
- SetWorkingDir %A_ScriptDir%
- SetTitleMatchMode, 3
- SetMouseDelay, -1
- SetControlDelay, -1
- #IfWinActive Diablo III
- #MaxHotkeysPerInterval 99000000
- #HotkeyInterval 99000000
- #KeyHistory 0
- Process, Priority, , H
- SetKeyDelay, -1, -1
- SetDefaultMouseSpeed, 0
- SetBatchLines,-1
- SetKeyDelay, 0, 10, Play ; Note that both 0 and -1 are the same in SendPlay mode.
- SetMouseDelay, 10, Play
- CoordMode, Mouse, Screen
- //w = Bewegung erzwingen
- //F9 = Stillstand erzwingen
- //LButton = Himmelsfaust
- //Rbutton = Himmelsfuror
- e::
- send {F9 down}
- send {LButton down}
- sleep 2000
- send {LButton up}
- send {F9 up}
- send {w down}
- stop = 0
- loop
- {
- if stop = 1
- break
- send {rbutton down}
- sleep 20
- send {rbutton up}
- sleep 120
- GetKeyState, keystate, e,P
- if keystate = U
- break
- }
- send {w up}
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement