Advertisement
tim808

wow macros and ahk

Aug 24th, 2019
1,457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. Follow Macro (/focus your main guy first). To STOP following you need to hit a nonjump movement key, see autohotkey script below.
  2.  
  3. /stopcasting
  4. /target focus
  5. /follow
  6.  
  7.  
  8. Cast healing spell on friendly only, checking for the focus's target (party member), or the focus, or if no focus your target's target, or your target, or yourself. You can use this with any friendly targeting spell. Can use this to have the main target party members, then hitting the heal button to heal that party member and then switching back to the target.
  9. Later on you may need to use different ranks of heal spells since that was a thing in vanilla. The syntax is Heal(Rank 3). No space after the spell name and then ().
  10.  
  11. #showtooltip Heal
  12. /cast [@focustarget,help,nodead][@focus,help,nodead][@targettarget,help,nodead][@target,help,nodead][@player]Heal
  13.  
  14.  
  15. Alternative party heal macro, just make 5 of these, one for each party member. Doesn't heal pets. Change spell name to whatever of course. Change spell name of course.
  16.  
  17. #showtooltip Heal
  18. /cast [@party1]Heal
  19.  
  20. #showtooltip Heal
  21. /cast [@party2]Heal
  22.  
  23. #showtooltip Heal
  24. /cast [@party3]Heal
  25.  
  26. #showtooltip Heal
  27. /cast [@party4]Heal
  28.  
  29. #showtooltip Heal
  30. /cast [@party5]Heal
  31.  
  32.  
  33.  
  34. Casts Holy Fire on something harmful as long as there is someone targeting something harmful, replace spell name with any offensive spell. It is done this way in case your target is targeting a friendly thing that is targeting a friendly thing that is targeting a hostile, and it will still work. Didn't get to test this one on live though.
  35. #showtooltip Holy Fire
  36. /cast [harm,nodead][@focustarget,harm,nodead][@focustargettarget,harm,nodead][@targettarget,harm,nodead][@targettargettarget,harm,nodead][@targettargettargettarget,harm,nodead][@targettargettargettargettarget,harm,nodead]Holy Fire
  37.  
  38.  
  39. Ok here is the weird one. Make Install AutoHotKey. A new text file and copy paste this in, save as whatever.ahk. This maps numpad buttons to the second wow window's buttons. This may be out of date and I don't have 2 accounts to test with right now.
  40. Numpad456789 are movement buttons but you need to have keyboard turn on q and e, numpad0 is jump.
  41. Numpad/*-+.123 translate to active action bar 87654123 respectively, pretty much only need 123 unless you get fancier.
  42.  
  43. Once you load up both instances of WoW, find the file and run the script.
  44.  
  45. Autohotkey script (don't copy this line):
  46.  
  47. WinGet, wowid, list, World of Warcraft
  48.  
  49. NumpadDiv::
  50. KeyWait, NumpadDiv, D
  51. ControlSend,, {8}, ahk_id %wowid2%
  52. Return
  53. WinGet, wowid, list, World of Warcraft
  54.  
  55. NumpadMult::
  56. KeyWait, NumpadMult, D
  57. ControlSend,, {7}, ahk_id %wowid2%
  58. Return
  59.  
  60. WinGet, wowid, list, World of Warcraft
  61.  
  62. NumpadSub::
  63. KeyWait, NumpadSub, D
  64. ControlSend,, {6}, ahk_id %wowid2%
  65. Return
  66.  
  67. WinGet, wowid, list, World of Warcraft
  68.  
  69. NumpadAdd::
  70. KeyWait, NumpadAdd, D
  71. ControlSend,, {5}, ahk_id %wowid2%
  72. Return
  73.  
  74. WinGet, wowid, list, World of Warcraft
  75.  
  76. NumpadDot::
  77. KeyWait, NumpadDot, D
  78. ControlSend,, {4}, ahk_id %wowid2%
  79. Return
  80.  
  81. WinGet, wowid, list, World of Warcraft
  82.  
  83. NumPad0::
  84. KeyWait, NumPad0, D
  85. ControlSend,, {Space}, ahk_id %wowid2%
  86. Return
  87.  
  88. WinGet, wowid, list, World of Warcraft
  89.  
  90. NumPad1::
  91. ControlSend,, {1 down}, ahk_id %wowid2%
  92. KeyWait, NumPad1
  93. ControlSend,, {1 up}, ahk_id %wowid2%
  94. Return
  95.  
  96. WinGet, wowid, list, World of Warcraft
  97.  
  98. NumPad2::
  99. ControlSend,, {2 down}, ahk_id %wowid2%
  100. KeyWait, NumPad2
  101. ControlSend,, {2 up}, ahk_id %wowid2%
  102. Return
  103.  
  104. WinGet, wowid, list, World of Warcraft
  105.  
  106. NumPad3::
  107. ControlSend,, {3 down}, ahk_id %wowid2%
  108. KeyWait, NumPad3
  109. ControlSend,, {3 up}, ahk_id %wowid2%
  110. Return
  111.  
  112. WinGet, wowid, list, World of Warcraft
  113.  
  114. NumPad4::
  115. ControlSend,, {a down}, ahk_id %wowid2%
  116. KeyWait, NumPad4
  117. ControlSend,, {a up}, ahk_id %wowid2%
  118. Return
  119.  
  120.  
  121. WinGet, wowid, list, World of Warcraft
  122.  
  123. NumPad5::
  124. ControlSend,, {s down}, ahk_id %wowid2%
  125. KeyWait, NumPad5
  126. ControlSend,, {s up}, ahk_id %wowid2%
  127. Return
  128.  
  129. WinGet, wowid, list, World of Warcraft
  130.  
  131. NumPad6::
  132. ControlSend,, {d down}, ahk_id %wowid2%
  133. KeyWait, NumPad6
  134. ControlSend,, {d up}, ahk_id %wowid2%
  135. Return
  136.  
  137. WinGet, wowid, list, World of Warcraft
  138.  
  139. NumPad7::
  140. ControlSend,, {q down}, ahk_id %wowid2%
  141. KeyWait, NumPad7
  142. ControlSend,, {q up}, ahk_id %wowid2%
  143. Return
  144.  
  145. WinGet, wowid, list, World of Warcraft
  146.  
  147. NumPad8::
  148. ControlSend,, {w down}, ahk_id %wowid2%
  149. KeyWait, NumPad8
  150. ControlSend,, {w up}, ahk_id %wowid2%
  151. Return
  152.  
  153. WinGet, wowid, list, World of Warcraft
  154.  
  155. NumPad9::
  156. ControlSend,, {e down}, ahk_id %wowid2%
  157. KeyWait, NumPad9
  158. ControlSend,, {e up}, ahk_id %wowid2%
  159. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement