#IfWinActive ahk_exe PathOfExile_x64.exe
^p::Suspend
4::
{
sendinput, 1
Gosub, Deelaay
sendinput, 2
Gosub, Deelaay
sendinput, 3
Gosub, Deelaay
sendinput, 4
Gosub, Deelaay
sendinput, 5
}
return
Deelaay:
Random, rand, 30, 60
Sleep, %rand%
return
#IfWinActive