BBot - The best bot of the world
Need macro [stop cavebot when x % mana, and full x % start ] - 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: Need macro [stop cavebot when x % mana, and full x % start ] (/thread-14784.html)



Need macro [stop cavebot when x % mana, and full x % start ] - bombatyka - 10-21-2018

Hi.
I need macro [stop cavebot when x % mana, and full x % start ]

same elfbot:
auto 200 if [$mppc >= X && $caveboton == 0] { setcavebot on } | if [$mppc <= X && $caveboton == 1] { setcavebot off }

Thakns <3


RE: Need macro [stop cavebot when x % mana, and full x % start ] - Catar - 10-21-2018

Why? It will just make your character stop in random place.

What's your goal?


RE: Need macro [stop cavebot when x % mana, and full x % start ] - kotthv - 10-22-2018

why when I turn on the cavebot figure I move 1sqm per minute.
as well as lag Angry


RE: Need macro [stop cavebot when x % mana, and full x % start ] - bombatyka - 10-22-2018

(10-21-2018, 08:44 PM)Catar Wrote: Why? It will just make your character stop in random place.

What's your goal?

Yyyy random place? Xd cavebot stop 30% mana and use potion to 90% my mana and start cavebot.
What do you not understand?


RE: Need macro [stop cavebot when x % mana, and full x % start ] - Catar - 10-22-2018

(10-22-2018, 01:13 AM)bombatyka Wrote: Yyyy random place? Xd cavebot stop 30% mana and use potion to 90% my mana and start cavebot.
What do you not understand?

Purpose


RE: Need macro [stop cavebot when x % mana, and full x % start ] - bombatyka - 10-23-2018

Bump.


RE: Need macro [stop cavebot when x % mana, and full x % start ] - mateusn - 10-23-2018

Did not work, sorry.


RE: Need macro [stop cavebot when x % mana, and full x % start ] - LucasN - 10-23-2018

[Image: bOhXcun.png]

Just set up Mana Tools to do what you need


RE: Need macro [stop cavebot when x % mana, and full x % start ] - MegaNo0body - 10-25-2018

Based on the given elf commands, looks like what the user really want is:
1. Turn off Cavebot when Mana Drinker is healing
2. Turn on Cavebot when Mana Drinker is not healing anymore


RE: Need macro [stop cavebot when x % mana, and full x % start ] - LucasN - 10-25-2018

Code:
200 {N} ID:=Creature.Self() IDPotion:=238 Self.Mana%()=<30 [Mp] Cavebot.Stop() Self.Attacking()==0 Creature.ShootOn(!ID, !IDpotion) Exit()  {Mp} Self.Mana%()=>50 Cavebot.Start() Exit()



RE: Need macro [stop cavebot when x % mana, and full x % start ] - bombatyka - 10-28-2018

(10-25-2018, 07:45 PM)LucasN Wrote:
Code:
200 {N} ID:=Creature.Self() IDPotion:=238 Self.Mana%()=<30 [Mp] Cavebot.Stop() Self.Attacking()==0 Creature.ShootOn(!ID, !IDpotion) Exit()  {Mp} Self.Mana%()=>50 Cavebot.Start() Exit()

Nice! Thanks u <3
Rep for u