BBot - The best bot of the world
New to BBOT Help - 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: New to BBOT Help (/thread-21008.html)



New to BBOT Help - Smiles - 02-27-2019

Hello, im having an issue with functions such as:
CaveBot.NoKill(enabled)

What should i declare as a param in enabled?

Would love if someone can help me out here aswell:

120000
{CheckMyCap}
whenBackCap:=500
Creatures.Beside()>=1
Target:=Creature.Target()
[CheckManaCondition]
Self.Capacity() < !whenBackCap!
OpenCorpses.Pause()
CaveBot.GoLabel(BACK)
Exit()
{CheckManaCondition}
manaId:=268
manaId<=150
OpenCorpses.Pause()
CaveBot.GoLabel(BACK)
Exit()


RE: New to BBOT Help - erleo - 02-27-2019

Should work it.
Code:
1000 {Macro Sample} capLEAVE:=500 mpID:=268 Misc.ItemCountEx(!mpID)>=150 [MANA POTIONS] Self.Capacity()>=!capLEAVE [CAP] Killer.Start() OpenCorpses.UnPause() Cooldown.Blocked(HUD)==0 HUD.Print(2, 1, 36, 173, 204, 1000, Enought supplies and cap) Cooldown.Create(HUD, 1500) Exit()  {MANA POTIONS} Killer.Stop() OpenCorpses.Pause() Cooldown.Blocked(mpHUD)==0 HUD.Print(2, 1, 204, 36, 199, 1000, No manas) Cooldown.Create(mpHUD, 1500) CaveBot.GoLabel(BACK) Exit()  {CAP} Killer.Stop() OpenCorpses.Pause() Cooldown.Blocked(capHUD)==0 HUD.Print(2, 1, 242, 242, 28, 1000, No cap) Cooldown.Create(capHUD, 1500) CaveBot.GoLabel(BACK) Exit()