There are many other ways to use Autopill and many programs to do it, just for example:
Code:
Func PVP()
Local $Health, $Spirit
; Local Definition of Var's as i use MustDeclareVars to prevent any confusion
$PVP = NOT $PVP
; Toogle ( Switch's the Func ON and OFF, preventing any need for an off Function
While $PVP = True
; While Its Set ON.... Do the Following:
$Health = PixelGetColor(207, 8)
; Loc on Screen to Check HP Color
if $Health <> 0x8C2D39 Then
; Check the Hex Colorcode at the Loc. if it isn't That Color Heal....
Send( "{1}" )
; Heal Keys
Send( "{3}" )
; Heal Keys
EndIf
;If Heal Color is Red at the Position( 100% ) Then Do Nothing
$Spirit = PixelGetColor(130, 24)
; Loc on Screen to Check Spirit Color
If $Spirit <> 0x684EE1 Then
; Check the Hex Colorcode at the Loc. if it isn't That Color, Spirit....
Send( "{2}" );
; Spirit Key
EndIf
;If Heal Color is Blue at the Position( 15% ) Then Do Nothing
Sleep(1)
; if I don't need to heal or spirit then sleep for 1ms then recheck, to prevent lag of the script running you make it sleep when it isn't active.
;Send("`")
; used to use Auto Pickup. for like Events such as Monster Spawning for loads of Prize Purses :P, tho there are better ways to to this but i only use it for events so spamming works fine.
WEnd
; Close the Loop, Last So that It Continue's to Sleep when off and Continues to Heal and/or Spirit when needed, else it will only do it once then stop.
EndFunc
Basically That Function will check Weather my hp is > 100% and if my Spirit is > 15%, if it is then it will Spam my 1 & 3 HP Keys and/or 2 Spirit Key to Recover,With this
You can be tanking loads of people, without needing to heal or spirit. and only need to Charge your 6th skill then Vital Hit them for me thats F5...F6, F5...F6 repeat... Since recovery is all taken care of.
Depending on your Build
But that is just one method to doing AutoPot, there are still methods such as using Memory and such. But that you can figure out as you go along. this is just one method that I used to help show you.
Hope this Helps Someone.