BBot - The best bot of the world
Need to re-write the programming commands - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Need to re-write the programming commands (/thread-3782.html)



Need to re-write the programming commands - 963963aa - 08-14-2012

Macro (32649 31907 8:500 {} Self.Inventory.LeftHand= CaveBot.GoLabel()
Macro (32649 31907 8:500 {} Misc.ItemCountEx()<1 CaveBot.GoLabel())



Do not know how to write, command

Need to re-write the programming commands

I need this command can help me? ShyShyShy


RE: Need to re-write the programming commands - Dexter - 08-14-2012

Go to Macro Tools > Macro Editor:

Try to keep as below (example):

Code:
0 {macro1} Self.Inventory.LeftHand<=10 CaveBot.GoLabel(Refill)

When finished, press button Done

After this, you select the macro in Cavebot > Codes/labels > Macro.

Like this:
[code]Point (X Y Z)
Fixed (X Y Z)
Macro (X Y Z:macro1)
Point (X Y Z)[/b]


RE: Need to re-write the programming commands - 963963aa - 08-15-2012

Wow! Command do not come does not work :(

Macro (32649 31907 8:0 {macro1} Self.Inventory.LeftHand<=10 CaveBot.GoLabel(Refill)


RE: Need to re-write the programming commands - 963963aa - 08-15-2012

Hi, I use this code for my full check label:

Like this:
Macro (32649 31907 8:0 {buysword} Self.Inventory.LeftHand<=10 CaveBot.GoLabel(buysword)

What is wrong with my code doesnt works?


RE: Need to re-write the programming commands - Dexter - 08-15-2012

Attach your script so I can check. Smile


RE: Need to re-write the programming commands - 963963aa - 08-16-2012

(08-15-2012, 04:02 PM)Dexter Wrote: Attach your script so I can check. Smile


i bbot Why attach importance to Stop ,
This place?

Walking route is problematic

Stop Fixed (32657 31656 8)
Point (32657 31660 8)



Point (32656 31664 8)
Point (32656 31660 8)
Point (32657 31656 8)
Fixed (32657 31656 8)
Say (32657 31656 8:hi)
NPCSay (32657 31656 8:trade)
Sell (32657 31656 8:3358)
Sell (32657 31656 8:3359)
Sell (32657 31656 8:3354)
Sell (32657 31656 8:3273)
Sell (32657 31656 8:3285)
Sell (32657 31656 8:3410)
Sell (32657 31656 8:3376)
Sell (32657 31656 8:3413)
Sell (32657 31656 8:3266)
Sell (32657 31656 8:3430)
Sell (32657 31656 8:3275)
Sell (32657 31656 8:3276)
Sell (32657 31656 8:3286)
Sell (32657 31656 8:3264)
Sell (32657 31656 8:3269)
Fixed (32657 31656 8)
Point (32657 31660 8)
Fixed (32659 31662 8)
Point (32660 31662 8)
Point (32664 31663 8)
Point (32668 31664 8)


RE: Need to re-write the programming commands - 963963aa - 08-17-2012

AngryAngryAngryAngryAngryAngry
(08-16-2012, 02:36 AM)963963aa Wrote:
(08-15-2012, 04:02 PM)Dexter Wrote: Attach your script so I can check. Smile


i bbot Why attach importance to Stop ,
This place?

Walking route is problematic

Stop Fixed (32657 31656 8)
Point (32657 31660 8)



Point (32656 31664 8)
Point (32656 31660 8)
Point (32657 31656 8)
Fixed (32657 31656 8)
Say (32657 31656 8:hi)
NPCSay (32657 31656 8:trade)
Sell (32657 31656 8:3358)
Sell (32657 31656 8:3359)
Sell (32657 31656 8:3354)
Sell (32657 31656 8:3273)
Sell (32657 31656 8:3285)
Sell (32657 31656 8:3410)
Sell (32657 31656 8:3376)
Sell (32657 31656 8:3413)
Sell (32657 31656 8:3266)
Sell (32657 31656 8:3430)
Sell (32657 31656 8:3275)
Sell (32657 31656 8:3276)
Sell (32657 31656 8:3286)
Sell (32657 31656 8:3264)
Sell (32657 31656 8:3269)
Fixed (32657 31656 8)
Point (32657 31660 8)
Fixed (32659 31662 8)
Point (32660 31662 8)
Point (32664 31663 8)
Point (32668 31664 8)

AngryAngryAngry
(08-17-2012, 03:42 AM)963963aa Wrote: AngryAngryAngryAngryAngryAngry
(08-16-2012, 02:36 AM)963963aa Wrote:
(08-15-2012, 04:02 PM)Dexter Wrote: Attach your script so I can check. Smile


i bbot Why attach importance to Stop ,
This place?

Walking route is problematic

Stop Fixed (32657 31656 8)
Point (32657 31660 8)



Point (32656 31664 8)
Point (32656 31660 8)
Point (32657 31656 8)
Fixed (32657 31656 8)
Say (32657 31656 8:hi)
NPCSay (32657 31656 8:trade)
Sell (32657 31656 8:3358)
Sell (32657 31656 8:3359)
Sell (32657 31656 8:3354)
Sell (32657 31656 8:3273)
Sell (32657 31656 8:3285)
Sell (32657 31656 8:3410)
Sell (32657 31656 8:3376)
Sell (32657 31656 8:3413)
Sell (32657 31656 8:3266)
Sell (32657 31656 8:3430)
Sell (32657 31656 8:3275)
Sell (32657 31656 8:3276)
Sell (32657 31656 8:3286)
Sell (32657 31656 8:3264)
Sell (32657 31656 8:3269)
Fixed (32657 31656 8)
Point (32657 31660 8)
Fixed (32659 31662 8)
Point (32660 31662 8)
Point (32664 31663 8)
Point (32668 31664 8)



RE: Need to re-write the programming commands - Wukazen - 08-17-2012

well now you have to paste the macros in your Macros secction and add the macro by selecting it from from the list of macros to make it work, also you have to redo most of the macros in order to make them work, the beta 7.0 is really great and stable but most of ppl can't understand it languaje that's really bad.


RE: Need to re-write the programming commands - Dexter - 08-17-2012

Dude,

Do exactly what is below:

Important: All macros must be made in this way: Go to Macro Tools > Macro Editor:

When finished, press button Done

After this, you select the macro in Cavebot > Codes/labels > Macro.

Like this:
Code:
Point (X Y Z)
Fixed (X Y Z)
Macro (X Y Z:macro1)
Point (X Y Z)

If you do not understand anything I posted above, read the wiki bbot before doing any script more complex.
http://forums.bmega.net/forumdisplay.php?fid=6


RE: Need to re-write the programming commands - 963963aa - 08-18-2012

Will not


RE: Need to re-write the programming commands - Kimoszin - 08-18-2012

Try
Code:
0 {Equipe Spear} Self.Inventory.LeftHand.Count()<=3 CaveBot.GoLabel(Refill)

BBot 7.0


RE: Need to re-write the programming commands - qq64842929 - 08-19-2012

0 {Equipe Spear} Self.Inventory.LeftHand.Count( ID )<=3 CaveBot.GoLabel(Refill)

(08-19-2012, 01:04 AM)qq64842929 Wrote: 0 {Equipe Spear} Self.Inventory.LeftHand.Count( ID )<=3 CaveBot.GoLabel(Refill)

(08-19-2012, 01:04 AM)qq64842929 Wrote: 0 {Equipe Sword} Self.Inventory.LeftHand.Count(0 )<=0 CaveBot.GoLabel(Equipe Sword)