BBot - The best bot of the world
Sword / life ring - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html)
+--- Thread: Sword / life ring (/thread-19765.html)



Sword / life ring - Catar - 04-13-2016

Macro that puts skill ring on while fighting and life ring when not fighting.
Also takes ring out in protection zone


Variables
Code:
AtRingBP=3091  (3091 sword ring in BP)
AtRingF=3094   (3094 sword ring on finger)

[macro]700 {lifering}
PeZe:=Status.InPZ()
Battle:=Self.Attacking()
swring:=Misc.ItemCountEx(!AtRingBP!)
coAS:=Self.Inventory.Ring()
!swring!>=1 [sword]
!Battle!==1 [pz0]
!coAS!<>!AtRingF!
Self.Equip.Ring(!AtRingBP!)
exit()
{pz0}
!PeZe!<>1 [pz1]
!coAS!<>3089
Self.Equip.Ring(3052)
exit()
{pz1}
Self.UnEquip.Ring(0)
exit()
exit()
{sword}
!PeZe!<>1 [pz2]
!coAS!<>3089
Self.Equip.Ring(3052)
exit()
{pz2}
Self.UnEquip.Ring(0)
exit()
[/macro]


RE: Sword / life ring - damiansnk - 04-13-2016

Could I add ur 2 macros to scropting tools ?


RE: Sword / life ring - Catar - 04-13-2016

You can add links to my posts Smile