SHARE
TWEET

Untitled

a guest Aug 18th, 2019 70 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. ;SOLO HEAL MODE
  13. #MaxThreadsPerHotkey 2
  14. !Home::
  15. Toggle := !Toggle
  16. ToolTip, Solo Healing is %Toggle%, 0, 0
  17. loop
  18. {
  19.     If not Toggle
  20.         break
  21.     if WinActive("Dragon Crusade - Connected To Astrid") {
  22.         PixelGetColor, mouseColor, 211, 65 ;124, 669
  23.         Red:="0x" SubStr(mouseColor,7,2)
  24.         Red:=Red+0
  25.         if (Red < 142) {
  26.             ControlSend,, {F1},Dragon Crusade - Connected To Angel902
  27.         } else {
  28.             Sleep, 50
  29.         }
  30.     }
  31. }
  32. return
  33.  
  34. ;MULTI HEAL MODE
  35. +Home::
  36. Toggle := !Toggle
  37. ToolTip, Multi Healing is %Toggle%, 0, 0
  38. loop
  39. {
  40.     If not Toggle
  41.         break
  42.     if WinActive("Dragon Crusade - Connected To Astrid") {
  43.         NumberInParty := 4
  44.         PixelGetColor, mouseColor, 127, % (NumberInParty-1)*34+510 ;start: 127, 510
  45.         Red:="0x" SubStr(mouseColor,7,2)
  46.         Red:=Red+0
  47.         if (Red > 243) {
  48.             ControlSend,, {F1},Dragon Crusade - Connected To Angel902
  49.         } else {
  50.             Sleep, 50
  51.         }
  52.     }
  53. }
  54. return
  55.  
  56. Home::
  57. Toggle := false
  58. ToolTip
  59. 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
 
Top