Skip to content

Instantly share code, notes, and snippets.

@MetroWind
Created August 16, 2020 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MetroWind/007dd65e92613f38e117e921e5390a5e to your computer and use it in GitHub Desktop.
Save MetroWind/007dd65e92613f38e117e921e5390a5e to your computer and use it in GitHub Desktop.
PoE auto flask
IsEnabled := false
FlaskIdx := 2
#IfWinActive Path of Exile
`::
IsEnabled := !IsEnabled
if (IsEnabled)
{
SetTimer, TimerFlask, 1500
}
else
{
SetTimer, TimerFlask, Off
}
return
TimerFlask:
if (FlaskIdx = 6)
{
FlaskIdx := 2
}
Send, %FlaskIdx%
FlaskIdx := FlaskIdx + 1
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment