Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; LClick -> O/o
- ; RClick -> P/p
- ; WheelUp -> J/j
- ; WheelDown -> L/l
- ; enter -> enter & e
- ; 2 -> o & w = shield bash
- ; 3 -> p & w = jump attack
- ; F1 -> Start suspend script
- ; F2 -> Stop suspend script
- ;
- ; LCLick -> Terminate Script
- ;
- ; * In front of the hotkey will make the hotkey still run even if a "modifier" like Shift is being held.
- #IfWinActive, ahk_class DarkSouls2
- {
- *LButton::o
- *RButton::p
- *WheelUp::
- SetKeyDelay, 0, 30
- Send {j}
- return
- *Wheeldown::
- SetKeyDelay, 0, 30
- Send {l}
- return
- *Enter::
- Send {Enter down}
- Sleep 20
- Send {e down}
- Sleep 20
- Send {Enter up}
- Send {e up}
- return
- ;Shield bash
- *2::
- SetKeyDelay, 0, 30
- Send {w}
- SetKeyDelay, 0, 30
- Send {o}
- return
- ;Jump attack
- *3::
- SetKeyDelay, 0, 30
- Send {w}
- SetKeyDelay, 0, 30
- Send {p}
- return
- F1::
- SoundPlay, %A_WinDir%\Media\ding.wav
- Suspend On
- return
- F2::
- Suspend Off
- SoundPlay, %A_WinDir%\Media\chimes.wav
- return
- }
- #IfWinNotExist, ahk_class DarkSouls2
- {
- LButton::ExitApp
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement