Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #IfWinActive, Path of Exile
  2. FLASK_CD := 4500
  3. enabled := true
  4. last_count := A_TickCount
  5. elapsed := FLASK_CD
  6.  
  7. ~*RButton::
  8. while (GetKeyState("RButton")) {
  9. elapsed := elapsed + (A_TickCount - last_count)
  10. last_count := A_TickCount
  11. if (enabled && elapsed >= FLASK_CD)
  12. {
  13. Send, 12345
  14. elapsed := 0
  15. }
  16. Sleep, 50
  17. }
  18. return
  19.  
  20. ~*v::
  21. enabled := !enabled
  22. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement