BBot - The best bot of the world
Stealth ring request - 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: Stealth ring request (/thread-12374.html)



Stealth ring request - zizu1 - 11-08-2013

Hello. I need script like:

when you see on the screen 2+ tarantulas equip stealth ring. When 1 remain - unequip.


RE: Stealth ring request - JeshuaStep - 11-08-2013

Hello, try this bro!

PHP Code:
1000 {ringT:=Creatures.OnScreen() !T!==2 Self.Equip.Ring(3049)
1000 {unringT:=Creatures.OnScreen() !T!==1 Self.UnEquip.Ring(0) (3049



RE: Stealth ring request - zizu1 - 11-08-2013

Doesn't work. Besidez, it would work for spiders, centipdes etc and i need it to work for tarantules only

When 4 monsters I debuged it shows "Start-Of-Macro

Creatures.OnScreen() returned 4
!T! has been set to 4
[False] !T!==2
[@] Exit of macro

End-Of-Macro
"


RE: Stealth ring request - Kimoszin - 11-08-2013

http://wiki.bmega.net/doku.php?id=samples#equip_unequip_ring_with_x_monsters


RE: Stealth ring request - zizu1 - 11-08-2013

(11-08-2013, 08:40 AM)Kimoszin Wrote: http://wiki.bmega.net/doku.php?id=samples#equip_unequip_ring_with_x_monsters

500 {tarantule3} 1500 {Equip/Unequip ring with x monsters} monstersCount:=3 idRingOFF:=0 idRingON:=3049 Creatures.ByName(Tarantula)>=!monstersCount! [else] Self.Inventory.Ring()<>!idRingON! Self.Equip.Ring(!idRingOFF!) Exit() {else} Self.Inventory.Ring()==!idRingON! Self.UnEquip.Ring(0)


Its ok?


RE: Stealth ring request - Kimoszin - 11-08-2013

idRingOFF normal ring id


RE: Stealth ring request - zizu1 - 11-09-2013

(11-08-2013, 09:12 AM)Kimoszin Wrote: idRingOFF normal ring id

Can't do this, please help me. No idea.

Quote:1500
{Equip/Unequip ring with x monsters}
monstersCount:=2
idRingOFF:=0
idRingON:=3049
Creatures.ByName(Minotaur Guard)>=!monstersCount! [else]
Self.Inventory.Ring()<>!idRingON!
Self.Equip.Ring(!idRingOFF!)
Exit()
{else}
Self.Inventory.Ring()==!idRingON!
Self.UnEquip.Ring(0)

or

Quote:1500
{Equip/Unequip ring with x monsters}
monstersCount:=2
idRingOFF:=3049
idRingON:=3049
Creatures.ByName(Minotaur Guard)>=!monstersCount! [else]
Self.Inventory.Ring()<>!idRingON!
Self.Equip.Ring(!idRingOFF!)
Exit()
{else}
Self.Inventory.Ring()==!idRingON!
Self.UnEquip.Ring(0)


- none of them works


RE: Stealth ring request - howcio - 11-09-2013

all tell you sux scripts. becoue all scripts here will take ring when 2+ NPC, MONSTER, PLAYER etc.

Use it.
This will only equip/unequip ring when 2+ MONSTER or NPC, will dont count PLAYERS
Code:
1000 {Zdejmowanie Ringa} ile:=Creatures.NPCOnScreen() !ile!<2 Self.UnEquip.Ring(0)
1000 {Zakladanie Ringa} ile:=Creatures.NPCOnScreen() !ile!>1 Self.Inventory.Ring()<>3086 Self.Equip.Ring(3049)



RE: Stealth ring request - Kimoszin - 11-10-2013

idRingOFF:=3049
idRingON:=3068