SHARE
TWEET

Untitled

a guest Aug 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. SetKeyDelay, 0, 200
  5.  
  6. +!b::
  7. SetKeyDelay, 1000, 500
  8. ControlSend,, 2{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}3{F1}{F2}{F3}{F4}1,Dragon Crusade - Connected To Angel902
  9. SetKeyDelay, 0, 200
  10. return
  11.  
  12. ToggleKeys:=false
  13. ^q::ToggleKeys := !ToggleKeys
  14.  
  15. #if %ToggleKeys%
  16. 1::F1
  17. 2::F2
  18. 3::F3
  19. 4::F4
  20. 5::F5
  21. 6::F6
  22. 7::F7
  23. 8::F8
  24. 9::F9
  25. #if
  26.  
  27. ;SOLO HEAL MODE
  28. #MaxThreadsPerHotkey 2
  29. !Home::
  30. Toggle := !Toggle
  31. ToolTip, Solo Healing is %Toggle%, 0, 0
  32. loop
  33. {
  34.     If not Toggle
  35.         break
  36.     if WinActive("Dragon Crusade - Connected To Astrid") {
  37.         PixelGetColor, mouseColor, 211, 65 ;124, 669
  38.         Red:="0x" SubStr(mouseColor,7,2)
  39.         Red:=Red+0
  40.         if (Red < 142) {
  41.             ControlSend,, {F1},Dragon Crusade - Connected To Angel902
  42.         } else {
  43.             Sleep, 50
  44.         }
  45.     }
  46. }
  47. return
  48.  
  49. ;MULTI HEAL MODE
  50. +Home::
  51. Toggle := !Toggle
  52. ToolTip, Multi Healing is %Toggle%, 0, 0
  53. loop
  54. {
  55.     If not Toggle
  56.         break
  57.     if WinActive("Dragon Crusade - Connected To Astrid") {
  58.         NumberInParty := 4
  59.         PixelGetColor, mouseColor, 127, % (NumberInParty-1)*34+510 ;start: 127, 510
  60.         Red:="0x" SubStr(mouseColor,7,2)
  61.         Red:=Red+0
  62.         if (Red > 243) {
  63.             ControlSend,, {F1},Dragon Crusade - Connected To Angel902
  64.         } else {
  65.             Sleep, 50
  66.         }
  67.     }
  68. }
  69. return
  70.  
  71. Home::
  72. Toggle := false
  73. ToolTip
  74. return
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top