BBot - The best bot of the world
Need help with macro - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Need help with macro (/thread-19184.html)



Need help with macro - wilykill - 01-20-2016

Hey guys, so i am using this macro for the energy ring

500
{Immortal}
Self.Health%<=40 [jump]
Self.Equip.Ring(3051)
Exit()
Self.Health%<=50
{jump}
Self.UnEquip.Ring(0)
Exit()

And its perfect, but i wanted to use an other ring when this is not being use..
So use XXX ring if higher than X Hp and use this macro up here when lower than 50% hp


RE: Need help with macro - damiansnk - 01-20-2016

Self.Health%<=50
{jump}
Self.UnEquip.Ring(0)

In line unequip ring write line like in 1 part ring equip with id of you other ring propably life ring or ring of healing. That should be work i cannot help more cuz im on smartphone


RE: Need help with macro - Catar - 01-20-2016

I did this macro while ago, if u used SEARCH option on forum, for sure you would find it

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