BBot - The Best Bot of the World - Forums

Full Version: BBot Variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
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()
(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".
Kimo, why macro ? You should use a fullcheck !
I like macros, was only an example of what can be done.