BBot - The best bot of the world
Strong 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: Strong macro (/thread-18542.html)



Strong macro - ozyrixe - 09-27-2015

Hello. I need macro to put energy ring when on screen is monster with name X or when is more then 3 monsters on my screen. But it looks too easy, i want to put dwarven ring after kill monster with name X or after this 3+ monsters on my screen.
(I can waste dwarven rings because i play on ots)
Blush Sorry for my english, but i think its enought clearyBlush


RE: Strong macro - damiansnk - 09-27-2015

[macro]1000 {Swap Rings by Monsters on Screen} onscreenmob:=3 dwarven:=3097 energy:=3051 id:=Creature.Attacking() Creature.NameIn(!id!, Dwarf Guard, Dwarf Geomancer, Dwarf Soldier)==00 [kill] Creatures.ByRangeName(5, Dwarf Guard)<=1 [kill] Creatures.ByRangeName(5, Dwarf Soldier)<=1 [kill] Creatures.ByRangeName(5, Dwarf Geomancer)<=1 [kill] Creatures.ByRange(5)<=!onscreenmob! [kill] Self.Equip.Ring(!dwarven!) Exit() {kill} Self.Equip.Ring(!energy!) Exit()[/macro]

Quote:onscreenmob:=3
dwarven:=3097
energy:=3051
id:=Creature.Attacking()
Creature.NameIn(!id!, Dwarf Guard, Dwarf Geomancer, Dwarf Soldier)==00 [kill]
Creatures.ByRangeName(5, Dwarf Guard)<=1 [kill]
Creatures.ByRangeName(5, Dwarf Soldier)<=1 [kill]
Creatures.ByRangeName(5, Dwarf Geomancer)<=1 [kill]
Creatures.ByRange(5)<=!onscreenmob! [kill]
Self.Equip.Ring(!dwarven!)
Exit()
{kill}
Self.Equip.Ring(!energy!)
Exit()


Just edit names of mobs where u hunt Smile


RE: Strong macro - ozyrixe - 09-27-2015

Doesnt work :< Or i do something wrong or its not good Huh