Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6. #SingleInstance force
  7.  
  8. #IfWinActive Elder Scrolls Online
  9.  
  10. SendMode Input
  11. {
  12. F10::
  13. DKCycle = 1
  14. Return
  15. }
  16.  
  17.  
  18.  
  19. ~XButton1::
  20. {
  21.  
  22. While GetKeyState("XButton1")
  23. {
  24.  
  25. GetKeyState,state,XButton1,P
  26. if state = U
  27. {
  28. Send {LButton up}
  29. Send {RButton up}
  30. DKCycle = 0
  31. SoundBeep
  32. break
  33. }
  34.  
  35. if DKCycle = 1
  36. {
  37. ; Engulfing
  38. Send {LButton}
  39. Sleep 100,105
  40. Send {RButton}
  41. Sleep 50,55
  42. Send {2}
  43. Sleep 1050,1055
  44. DKCycle = 2
  45. SoundBeep
  46. }
  47.  
  48. else if DKCycle = 2
  49. {
  50. ; Unstable
  51. Send {LButton}
  52. Sleep 100,105
  53. Send {RButton}
  54. Sleep 50,55
  55. Send {3}
  56. Sleep 750,755
  57. DKCycle = 3
  58. SoundBeep
  59. }
  60.  
  61. else if DKCycle = 3
  62. {
  63. ; Crushing Shock 1
  64. Send {RButton}
  65. Sleep 50,55
  66. Send {4}
  67. Sleep 750,755
  68. DKCycle = 4
  69. SoundBeep
  70. }
  71.  
  72. else if DKCycle = 4
  73. {
  74. ; Crushing Shock 2
  75. Send {LButton}
  76. Sleep 100,105
  77. Send {RButton}
  78. Sleep 50,55
  79. Send {4}
  80. Sleep 750,755
  81. DKCycle = 5
  82. SoundBeep
  83. }
  84.  
  85. else if DKCycle = 5
  86. {
  87. ; Crushing Shock 3
  88. Send {RButton}
  89. Sleep 50,55
  90. Send {4}
  91. Sleep 750,755
  92. DKCycle = 6
  93. SoundBeep
  94. }
  95.  
  96. else if DKCycle = 6
  97. {
  98. ; Spell Sym
  99. Send {LButton}
  100. Sleep 100,105
  101. Send {RButton}
  102. Sleep 50,55
  103. Send {1}
  104. Sleep 950,955
  105. DKCycle = 1
  106. SoundBeep
  107. }
  108.  
  109. }
  110.  
  111. return
  112.  
  113. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement