based off of quicksilver script
idk why it doesnt work
; User Config
_name_poe_win = Path of Exile ; Name of the window when you run game exe
; introduction
TrayTip, Destroy script loaded!, Options:`n> F9: Start the Script (if already configured correctly)! , 2, 2
Pause Off
; Main loop for activating the Destroy Loop
loop
{
IfWinActive, %_name_poe_win%
{
PixelSearch, Px, Py, 461, 332, 496, 342, 0xC7813D
If Errorlevel = 0
Click 485, 337
}
}
; Simple Pause/Unpause Function
F9::
if A_IsPaused
{
Pause off
TrayTip, Destroy-Script unpaused!, 1, 2
}
else
{
TrayTip, Destroy-Script paused!, Press F9 to resume... , 1, 2
Pause On
}
return
; Exitfunction
F10::
TrayTip, , terminating Destroy-Script! , 2.5
sleep 3000
ExitApp
return