BBot - The best bot of the world
Macro for energy 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: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Macro for energy ring (/thread-12063.html)



Macro for energy ring - wanahduu - 10-04-2013

Hi, i'm playing inferna and i need macro to use energy ring when there is a player on screen, i made macro with Self.Equip.Ring(3051) and used together with protector alarm player on screen, but to make this work i had to disable macros or it will wear energy ring everytime, so what i need is macro that use energy ring with macros enabled and only when player on screen. sorry for my english.


RE: Macro for energy ring - kamill - 10-04-2013

For equip:

Players.OnScreen>=2
Self.Equip.Ring(3051)

Unequip:
Players.OnScreen<=1
Self.UnEquip.Ring(0)


RE: Macro for energy ring - wanahduu - 10-04-2013

(10-04-2013, 11:24 AM)kamill Wrote: For equip:

Players.OnScreen>=2
Self.Equip.Ring(3051)

Unequip:
Players.OnScreen<=1
Self.UnEquip.Ring(0)

Its not working, i dont know why cause i used it with macros enabled and nothing and i used the macro on protector and nothing ;/ btw i used¬
0 {ring1} Players.OnScreen<=2 Self.Equip.Ring(3051)
0 {ring2} Players.OnScreen<=1 Self.UnEquip.Ring(0)


RE: Macro for energy ring - JeshuaStep - 10-05-2013

Try this bro.

PHP Code:
1000 {stealthringp:=Players.OnScreen() !p!>1 Self.Equip.Ring(3051)

1000 {unstealthringp:=Players.OnScreen() !p!<1 Self.UnEquip.Ring(0) (3051



RE: Macro for energy ring - kamill - 10-05-2013

(10-04-2013, 12:15 PM)wanahduu Wrote:
(10-04-2013, 11:24 AM)kamill Wrote: For equip:

Players.OnScreen>=2
Self.Equip.Ring(3051)

Unequip:
Players.OnScreen<=1
Self.UnEquip.Ring(0)

Its not working, i dont know why cause i used it with macros enabled and nothing and i used the macro on protector and nothing ;/ btw i used¬
0 {ring1} Players.OnScreen<=2 Self.Equip.Ring(3051)
0 {ring2} Players.OnScreen<=1 Self.UnEquip.Ring(0)

Not 0, You have to use it with 1000ms!
1000 {equip} Players.OnScreen>=2 Self.Equip.Ring(3051)
1000 {unequip} Players.OnScreen<=1 Self.UnEquip.Ring(0)