BBot - The best bot of the world
Drop potions if - 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: Drop potions if (/thread-18926.html)



Drop potions if - lordekbyku - 12-11-2015

Hello, i found this macro from erleo:
100 {Throw FULL SMP} ID:=237 X:=Self.X() Y:=Self.Y() Z:=Self.Z()Map.Thrown(!ID!, 1, !X!, !Y!, !Z!)

Could someone edit it for me?
I want my bot to throw smp on the floor if the cap is below 200 and bot should drop only 20 potions, not all the potions i got in my bp.

I'll give rep+ Smile


RE: Drop potions if - nosbor00 - 12-11-2015

Im not expert in macros, but I try help you ...
1000 {vial} Self.Capacity()<=200 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(237, 20, !X!, !Y!, !Z!)
It should be about it...


RE: Drop potions if - lordekbyku - 12-14-2015

thanks, rep+ Smile