Advertisement
Guest User

Untitled

a guest
May 4th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. #IfWinActive Darkfall Online
  2.  
  3. global toggleRay := 0 ;PUT THAT AT THE VERY TOP OF YOUR FILE
  4.  
  5. SetKeyDelay, -1, 10,
  6.  
  7. ;Sprint Script
  8. ~Esc::
  9. If toggle = 1
  10. {
  11. Keywait, Esc
  12. Send, {F12 down}
  13. }
  14. else
  15. toggle = 0
  16. return
  17.  
  18. ~Shift::
  19. if toggle := !toggle
  20. Send, {F12 down}
  21. else
  22. Send, {F12 Up}
  23. return
  24.  
  25.  
  26. ;Q Key - Shot Fireball, Parry Disable for Bow and 2 Melee Weapons (Burst Key)
  27.  
  28. ~q::
  29. Sendinput, {{}
  30. Sendinput, {}}
  31. Sendinput, ,
  32. Sendinput, q
  33. return
  34.  
  35.  
  36. ;E Key - Toggled Between 2 90s and selected a Whirlwind depending on what weapon I had out. (Burst Key)
  37.  
  38. ~e::
  39. Sendinput, {F9}
  40. Sendinput, {Numpad7}
  41. Sendinput, e
  42. if toggle := !toggle
  43. SendInput, {F8}
  44. else
  45. SendInput, {Numpad3}
  46. return
  47.  
  48. ;Tab Key - 2 Power Attacks and 1 Spell (Burst Key)
  49.  
  50. ~Tab::
  51. Sendinput, {Numpad8}
  52. Sendinput, !{Numpad8}
  53. Sendinput, {4}
  54. return
  55.  
  56. ;F Key - Toggled between Sacrifice and Heal other
  57.  
  58. ~F::
  59. if toggle := !toggle
  60. SendInput, !'
  61. else
  62. SendInput, !.
  63. return
  64.  
  65. ;Shift+G - Sword and board macro
  66.  
  67. !g::
  68. Sendinput, {Numpad0}
  69. sleep 550
  70. Sendinput, {Numpad9}
  71. return
  72.  
  73. ;Pause Script - Suspended hotkeys so I didn't look like a retard whenever I typed
  74.  
  75. PgUp::Suspend
  76.  
  77. End::pause
  78.  
  79. ;Ray Macro - Standard Ray Macro
  80. !F1::
  81. if (toggleRay == 0)
  82. {
  83. SoundPlay C:\on.wav ;can add sound here
  84. toggleRay = 1
  85. }
  86. else
  87. {
  88. SoundPlay C:\off.wav ;can add sound here
  89. toggleRay = 0
  90. }
  91. return
  92.  
  93. *Rbutton::
  94. sleep 10
  95. if (toggleRay == 0)
  96. {
  97. Sendinput, !{F5}
  98. sleep 2
  99. Sendinput, {LButton}
  100. sleep 2
  101. Sendinput, !{F6}
  102. sleep 2
  103. Sendinput, {LButton}
  104. sleep 2
  105. Sendinput, !{F7}
  106. sleep 2
  107. Sendinput, {LButton}
  108. sleep 2
  109. Sendinput, !{F8}
  110. sleep 2
  111. Sendinput, {LButton}
  112. sleep 2
  113. Sendinput, !{F9}
  114. sleep 2
  115. Sendinput, {LButton}
  116. sleep 2
  117. Sendinput, !{F11}
  118. sleep 2
  119. Sendinput, {LButton}
  120. }
  121. else
  122. {
  123. Sendinput, !{F5}
  124. sleep 2
  125. Sendinput, {LButton}
  126. sleep 2
  127. Sendinput, !{F7}
  128. sleep 2
  129. Sendinput, {LButton}
  130. sleep 2
  131. Sendinput, !{F9}
  132. sleep 2
  133. Sendinput, {LButton}
  134. sleep 2
  135. Sendinput, !{F8}
  136. sleep 2
  137. Sendinput, {LButton}
  138. sleep 2
  139. Sendinput, !{F6}
  140. sleep 2
  141. Sendinput, {LButton}
  142. sleep 2
  143. Sendinput, !{F11}
  144. sleep 2
  145. Sendinput, {LButton}
  146. }
  147. sleep 2
  148. return
  149.  
  150.  
  151. ;R Key - Toggled between 2 field AoEs
  152.  
  153. ~R::
  154. if toggle := !toggle
  155. SendInput, !P
  156. else
  157. SendInput, !O
  158. return
  159.  
  160. ;Potion Timers - Played a sound through AHK when potions were off cooldown
  161.  
  162. !Tab::
  163. {
  164. send !l
  165. settimer drink_alert, -65000
  166. }
  167. return
  168.  
  169. !z::
  170. {
  171. send !;
  172. settimer drink_alert, -65000
  173. }
  174. return
  175.  
  176. drink_alert:
  177. loop 5
  178. {
  179. soundbeep
  180. sleep 250
  181. }
  182. return
  183.  
  184. #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement