BBot - The best bot of the world
problem with rings - 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: problem with rings (/thread-18621.html)



problem with rings - wedel92 - 10-15-2015

hello need a macro to put off life ring and put on energy ring if my hp is 40-50% and when i have 90% then put off energy ring and put on life ring

i found few on forum but all doesnt work can someone help me


RE: problem with rings - Garuh - 10-15-2015

not tested
Code:
250 {Self.Equip.Ring} ID:=idring BP:=0 Self.Health%()<50 [st1] Self.Equip.Ring(!ID!) Exit() {st1} Self.Health%()>90 [st2] Self.UnEquip.Ring(0) Exit()