BBot - The best bot of the world
NEED A EASY MACRO - 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: NEED A EASY MACRO (/thread-16409.html)



NEED A EASY MACRO - siwyelo - 10-16-2014

HELLO I NEED MACRO TO LOGOUT WHEN AMMO END PLEASE REP FOR HELP


RE: NEED A EASY MACRO - damiansnk - 10-16-2014

u can set it in protector


RE: NEED A EASY MACRO - siwyelo - 10-17-2014

I cant its only option log when no cap and all potions


RE: NEED A EASY MACRO - mr. Kris - 10-17-2014

Try this:
Code:
1000 {Logout when low ammo} Misc.ItemCountEx(ID AMMO)<10 Cavebot.Stop() Status.Battle()==0 Self.Logout() Exit()

Add ID AMMO in: Misc.ItemCountEx(ID AMMO)
You must have opened BP with ammo.


RE: NEED A EASY MACRO - damiansnk - 10-17-2014

Ye Mr. Kris master of macros ^^


RE: NEED A EASY MACRO - MegaNo0body - 10-17-2014

(10-17-2014, 06:17 AM)mr. Kris Wrote: Try this:
Code:
1000 {Logout when low ammo} Misc.ItemCountEx(ID AMMO)<10 Cavebot.Stop() Status.Battle()==0 Self.Logout() Exit()

Add ID AMMO in: Misc.ItemCountEx(ID AMMO)
You must have opened BP with ammo.

Just a type, you don't need Cavebot.Stop() and Status.Battle() because Self.Logout() will pause the Cavebot and wait for Status.Battle()==0 automatically Smile

Also use [ macro ] forum tags, like:
[macro]1000 {Logout low ammo} ID_AMMO:=1000 Misc.ItemCountEx(!ID_AMMO!)<10 Self.Logout()[/macro]