Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #IfWinActive, Path of Exile
- FLASK_CD := 4500
- enabled := true
- last_count := A_TickCount
- elapsed := FLASK_CD
- ~*RButton::
- while (GetKeyState("RButton")) {
- elapsed := elapsed + (A_TickCount - last_count)
- last_count := A_TickCount
- if (enabled && elapsed >= FLASK_CD)
- {
- Send, 12345
- elapsed := 0
- }
- Sleep, 50
- }
- return
- ~*v::
- enabled := !enabled
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement