The set up I used was 1280x1024 resolution and in windowed mode. You can change that, but you'll need to edit the code a little bit. Pressing Home starts it going, and End exits the script.
I didn't bother uploading, as it's easy enough to compile yourself. It's all written in autoIt which you can download for free from

AutoIt Code:
HotKeySet("{END}","End")
HotKeySet("{HOME}","Start")
While 1
Sleep(100)
WEnd
Func Start()
While 1
Heal()
Sleep(400)
MP()
Sleep(400)
WEnd
EndFunc
Func Heal()
If PixelSearch(729,969,730,970,0x818381,30) = @error = 0 Then
Send("{1}")
EndIf
EndFunc
Func MP()
If PixelSearch(698,981,699,982,0x737973,30) = @error = 0 Then
Send("{2}")
EndIf
EndFunc
Func End()
Exit 0
EndFunc
It doesn't pot till your HP/MP is about 1/3 gone, as I said earlier though, you can edit however you want.
Happy Botting!






