I did this macro while ago, if u used SEARCH option on forum, for sure you would find it
ZM ID of the ring u want to use beside energy
Code:
CurHP:=Self.Health%()
coR:=Self.inventory.Ring()
ZM:=3007
MinHP:=45
MaxHP:=95
MinMana:=200
!CurHP!<!MinHP!
[need]
!coR!<>3088
[zaklada]
Self.Equip.Ring(3051)
exit()
{zaklada}
exit()
{need}
!CurHP!>=!MaxHP!
Self.Mana>=!MinMana!
!coR!==3088
Misc.ItemCountEx(!ZM!)>=1
[zmiana]
Self.Equip.Ring(!ZM!)
exit()
{zmiana}
Self.UnEquip.Ring(0)
exit()
exit()
ZM ID of the ring u want to use beside energy