BBot - The best bot of the world
BBot Variables - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Tutorials & Related (https://forums.bmega.net/forum-26.html)
+--- Thread: BBot Variables (/thread-5932.html)



BBot Variables - Kimoszin - 12-17-2012

Hello, today I'll show you how to use variables. (;

1. Creating a variable.
[Image: 66fdiw.png]


Clicking Apply your variable will be created.
[Image: 2jbv050.png]



2. Using the variables.
We can use variables to do several things: Macros, Fullchecks, Trade.
Remembering that we can only use numbers in variables.

Ok, let's use.
Let's create the variables.
[Image: kdq3k3.png]

Trade:
[Image: 2447gb8.png]


Macro:
[Image: 35mea8x.png]


RE: [TUTORIAL] How use variables - xolink - 03-13-2013

i do this in the moment i see this so i asking can it work?
1000 {Go lable on cap} Self.Capacity()<10 [else] Killer.Stop() CaveBot.GoLabel(Depositer) Exit() {else} Self.Capacity()>10 Killer.Start() Exit()

Self.Capacity()<10 [else]
Killer.Stop()
CaveBot.GoLabel(Depositer)
Exit()
{else}
Self.Capacity()>10
Killer.Start()
Exit()


RE: [TUTORIAL] How use variables - Coizado - 03-30-2013

(03-13-2013, 12:53 AM)xolink Wrote: i do this in the moment i see this so i asking can it work?
1000 {Go lable on cap} Self.Capacity()<10 [else] Killer.Stop() CaveBot.GoLabel(Depositer) Exit() {else} Self.Capacity()>10 Killer.Start() Exit()

Self.Capacity()<10 [else]
Killer.Stop()
CaveBot.GoLabel(Depositer)
Exit()
{else}
Self.Capacity()>10
Killer.Start()
Exit()

Hi this will work, but you don't really need the second "Self.Capacity()>10", if the macro goes to that part, it means Self.Capacity()<10 was not true, then it has to be more then 10, so you just start the killer without testing again.

If this Helped you, please click in "Give Reputation to This User".


RE: [TUTORIAL] How use variables - MegaNo0body - 03-31-2013

Kimo, why macro ? You should use a fullcheck !


RE: [TUTORIAL] How use variables - Kimoszin - 04-06-2013

I like macros, was only an example of what can be done.