Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #IfWinActive Darkfall Online
- global toggleRay := 0 ;PUT THAT AT THE VERY TOP OF YOUR FILE
- SetKeyDelay, -1, 10,
- ;Sprint Script
- ~Esc::
- If toggle = 1
- {
- Keywait, Esc
- Send, {F12 down}
- }
- else
- toggle = 0
- return
- ~Shift::
- if toggle := !toggle
- Send, {F12 down}
- else
- Send, {F12 Up}
- return
- ;Q Key - Shot Fireball, Parry Disable for Bow and 2 Melee Weapons (Burst Key)
- ~q::
- Sendinput, {{}
- Sendinput, {}}
- Sendinput, ,
- Sendinput, q
- return
- ;E Key - Toggled Between 2 90s and selected a Whirlwind depending on what weapon I had out. (Burst Key)
- ~e::
- Sendinput, {F9}
- Sendinput, {Numpad7}
- Sendinput, e
- if toggle := !toggle
- SendInput, {F8}
- else
- SendInput, {Numpad3}
- return
- ;Tab Key - 2 Power Attacks and 1 Spell (Burst Key)
- ~Tab::
- Sendinput, {Numpad8}
- Sendinput, !{Numpad8}
- Sendinput, {4}
- return
- ;F Key - Toggled between Sacrifice and Heal other
- ~F::
- if toggle := !toggle
- SendInput, !'
- else
- SendInput, !.
- return
- ;Shift+G - Sword and board macro
- !g::
- Sendinput, {Numpad0}
- sleep 550
- Sendinput, {Numpad9}
- return
- ;Pause Script - Suspended hotkeys so I didn't look like a retard whenever I typed
- PgUp::Suspend
- End::pause
- ;Ray Macro - Standard Ray Macro
- !F1::
- if (toggleRay == 0)
- {
- SoundPlay C:\on.wav ;can add sound here
- toggleRay = 1
- }
- else
- {
- SoundPlay C:\off.wav ;can add sound here
- toggleRay = 0
- }
- return
- *Rbutton::
- sleep 10
- if (toggleRay == 0)
- {
- Sendinput, !{F5}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F6}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F7}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F8}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F9}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F11}
- sleep 2
- Sendinput, {LButton}
- }
- else
- {
- Sendinput, !{F5}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F7}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F9}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F8}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F6}
- sleep 2
- Sendinput, {LButton}
- sleep 2
- Sendinput, !{F11}
- sleep 2
- Sendinput, {LButton}
- }
- sleep 2
- return
- ;R Key - Toggled between 2 field AoEs
- ~R::
- if toggle := !toggle
- SendInput, !P
- else
- SendInput, !O
- return
- ;Potion Timers - Played a sound through AHK when potions were off cooldown
- !Tab::
- {
- send !l
- settimer drink_alert, -65000
- }
- return
- !z::
- {
- send !;
- settimer drink_alert, -65000
- }
- return
- drink_alert:
- loop 5
- {
- soundbeep
- sleep 250
- }
- return
- #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement