BBot - The best bot of the world

Full Version: Sword / life ring
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
Could I add ur 2 macros to scropting tools ?
You can add links to my posts Smile