the user

just sent me a pm with an idea on how to add d/c for low hp, and this idea can be used for a hotkey to fast d/c too.
Im not going to add it to KIRA2 but im gonna tell how for those who understand a bit of AutoHotKey and want to add it to the code (u can download the code on the first post)
---------------------------------------------
Only hotkey to fast d/c:
Add this new hotkey:
Code:
+Y::
{
WinClose, %winname%
sleep, 150
ExitApp
}
with this the conquer window will close and also KIRA when pressing the key SHIFT+Y
---------------------------------------------
To d/c in low hp:
First you gonna have to add some buttons to pick the color and coords of the critical point of health.
You can use the same format as on the potter.
Then lets say the 3 new variables are saved on:
minhpx: coord x for the minimal hp
minhpy: coord y for the minimal hp
minhpcolor: red color of the hp
Then on the main subrutine called
go you need to add before
XPSPAM this code:
Code:
* * * PixelGetColor, newcolorminhp, %minhpx%, %minhpy%
* * * if newcolorminhp <> %minhpcolor%
* * * {
* * * WinClose, %winname%
* * * sleep, 150
* * * ExitApp
* * * }
---------------------------------------------
ok thats it ^^