CasualPoEPlayer wrote:could you change pressing 2 to instead pressing "T"? and also can u have a 250ms delay inbetween 2 and 3 and 4 and 5? also i wanted to have it so it can press 1 (250ms delay) 2(250ms delay) 3(250ms delay) 4(250ms delay) 5 and then end. how would you do that> ty for your time
All of that is super-easy to do with a basic script. Having been using AHK for all of a day, and having glanced at the help file and some examples, I could probably do it in the time it takes to brew a cup of tea. HOWEVER...
Chris (PoE's lead developer) has said that AHK use is fine,
as long as a single keypress doesn't generate more than a single server-side event. Moreover, he specifically forbids the use of scripts that automatically fire abilities on a timer like that- that's a bannable offence.
If enough people abuse this very sensible arrangement, GGG could do something stupid, like take a Warden-like approach, then ban all AHK use. For the good of everyone, maybe you should reconsider.
What is fine, however, would be a script that can fire the next flask in the list each time you mash the key. That's also really easy to do. You can find an example of how to do that here:
https://autohotkey.com/boards/viewtopic ... 5&p=143732
Your question does make me think that I should make myself a "round robin" flask script, too, once I move to Blood Magic and don't need to manage mana as well as healing flasks. It can be done exactly as the link above, and has the advantage that you can avoid casting it when it's not needed, but mashing the key faster during damage spikes.
Edit:
I made you a simple and totally legal flask spamming script. It works by mashing a single key to cast flasks in order. I just tried facetanking a Grasping Hand in a map, and it worked well.
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive Path of Exile
/*
By default, the first three flask slots are used, you can easily extend that. Backtick (to the left
of "1" on a UK keyboard) is used, but change that if needed for a different keymap. Simply mash
the key to use each flask in turn.
*/
Count := 1
#If (Count == 1)
`::
{
Send %Count%
Count++
return
}
#If (Count == 2)
`::
{
Send %Count%
Count++
return
}
#If (Count == 3)
`::
{
Send %Count%
Count := 1
return
}
It should be pretty easy to change it for a different number of flasks as needed/mix up the order. HTH/