i made this to switch out my BP to pog one and then after im healed to 100.. put my fungi back in.. i guess can sorta take this and edit it. it does switch out the gear tho.
Code: Select all
Sub Main
/if n $char(hp,pct)<=100 { | check hp
/if $invpanel==false /press i | open inventory
/finditem "Silver Moon Chest Wraps" | put pog bp on cursor
/click left equip chest | equip pog bp
:checkhp
/click right equip chest | right click for effect
/delay 15 | wait 15 sec for casting
/if n $char(hp,pct)<=100 /goto :checkhp | check if still injured
/click left equip chest | re-equip fungi
/if $pack(1,open)==false { | if bag 1 not open
/if $invpanel==false /press i | check for inventory
/click right inv 1 | open bag
}
/click left pack 1 1 | put bp in slot 1 of bag 1
/click left pack 1 done | close bag
/if $invpanel==true /press i | close inventory
/return
it worked except for the checking hp part

so that might be broke.. but did get pog, equip,right click, wait, re equip fungi, and then bagged my pog bp agian.