BBot - The best bot of the world
Macro on Stealth Ring and RoH - 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: Macro on Stealth Ring and RoH (/thread-9751.html)



Macro on Stealth Ring and RoH - tandek - 05-23-2013

Hello.

I need help in combining two scripts or do the new one.
Which will wear stealth ring when more than three cyclops, or some drone and Smith will appear on the screen, while when it let down wears the Ring of Healing when less than 200 mana.

Siemano.
Potrzebuje pomocy w połączeniu dwóch skryptów lub zrobienia nowego któy zakładałby stealth ring gdy więcej niż 3 cyclopy, lub jakis drone czy smith pojawi sie na ekranie, zas kiedy go sciagnie niech zalozy Ring of Healing gdy mniej niż 200 many.


Self.Mana()<100
Self.Equip.Ring(3098)
Self.Mana()>200
Self.UnEquip.Ring(3052)



500
{Stealth Ring by C}
ID:=3049
IDON:=3086
BP:=0
Creatures.ByName(Cyclops)>2 [cyc1]
Self.Inventory.Ring()<>!IDON!
Self.Equip.Ring(!ID!)
Exit()
{cyc1}
Creatures.ByName(Cyclops Drone)>0 [cyc2]
Self.Inventory.Ring()<>!IDON!
Self.Equip.Ring(!ID!)
Exit()
{cyc2}
Creatures.ByName(Cyclops Smith)>0 [cyc3]
Self.Inventory.Ring()<>!IDON!
Self.Equip.Ring(!ID!)
Exit()
{cyc3}
Self.Inventory.Ring()==!IDON!
Self.UnEquip.Ring(!BP!)
Exit()