Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- #SingleInstance force
- #IfWinActive Elder Scrolls Online
- SendMode Input
- {
- F10::
- DKCycle = 1
- Return
- }
- ~XButton1::
- {
- While GetKeyState("XButton1")
- {
- GetKeyState,state,XButton1,P
- if state = U
- {
- Send {LButton up}
- Send {RButton up}
- DKCycle = 0
- SoundBeep
- break
- }
- if DKCycle = 1
- {
- ; Engulfing
- Send {LButton}
- Sleep 100,105
- Send {RButton}
- Sleep 50,55
- Send {2}
- Sleep 1050,1055
- DKCycle = 2
- SoundBeep
- }
- else if DKCycle = 2
- {
- ; Unstable
- Send {LButton}
- Sleep 100,105
- Send {RButton}
- Sleep 50,55
- Send {3}
- Sleep 750,755
- DKCycle = 3
- SoundBeep
- }
- else if DKCycle = 3
- {
- ; Crushing Shock 1
- Send {RButton}
- Sleep 50,55
- Send {4}
- Sleep 750,755
- DKCycle = 4
- SoundBeep
- }
- else if DKCycle = 4
- {
- ; Crushing Shock 2
- Send {LButton}
- Sleep 100,105
- Send {RButton}
- Sleep 50,55
- Send {4}
- Sleep 750,755
- DKCycle = 5
- SoundBeep
- }
- else if DKCycle = 5
- {
- ; Crushing Shock 3
- Send {RButton}
- Sleep 50,55
- Send {4}
- Sleep 750,755
- DKCycle = 6
- SoundBeep
- }
- else if DKCycle = 6
- {
- ; Spell Sym
- Send {LButton}
- Sleep 100,105
- Send {RButton}
- Sleep 50,55
- Send {1}
- Sleep 950,955
- DKCycle = 1
- SoundBeep
- }
- }
- return
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement