BBot - The best bot of the world
IF NOT MONEY BANK LOG? - 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: IF NOT MONEY BANK LOG? (/thread-12609.html)



IF NOT MONEY BANK LOG? - XAfter - 11-11-2013

Is possible if not money bank character logout?


for exemple, macro when npc bank say, not money ,logout.


RE: IF NOT MONEY BANK LOG? - erleo - 11-11-2013

(11-11-2013, 02:18 PM)XAfter Wrote: Is possible if not money bank character logout?


for exemple, macro when npc bank say, not money ,logout.

mmmm..... i can create one macro for count money of ur bp and if you dont have x money in bp logout, if continue, okay?


RE: IF NOT MONEY BANK LOG? - sereczek - 11-11-2013

I think that will be the best option from erLeo, but you must do min. money


RE: IF NOT MONEY BANK LOG? - Kimoszin - 11-11-2013

http://wiki.bmega.net/doku.php?id=add_types#full_check_label


RE: IF NOT MONEY BANK LOG? - Noowy - 11-11-2013

(11-11-2013, 03:20 PM)Kimoszin Wrote: http://wiki.bmega.net/doku.php?id=add_types#full_check_label

He dont wanna logout when "X" money in backpack.
He wanna macro when is him "BALANCE" = 0 in bank him character gonna logout.


RE: IF NOT MONEY BANK LOG? - Kimoszin - 11-11-2013

If you can not withdraw the money will be 0.


RE: IF NOT MONEY BANK LOG? - erleo - 11-12-2013

But "XAfter" bot with balance,dont take profit with gold only, need money for continue bot!
My idea is the best.


RE: IF NOT MONEY BANK LOG? - Kimoszin - 11-12-2013

To check whether you have money or not, you will have to withdraw.

Sample:
Code:
Say (X Y Z:hi)
NPCSay (X Y Z:withdraw)
Withdraw (X Y Z:!potionId! !potionPrice! !potionAmount!)
NPCSay (X Y Z:yes)
FullCheck (32350 32227 7:Full Continue Else NoMoney Code 3031>0)



RE: IF NOT MONEY BANK LOG? - erleo - 11-12-2013

(11-12-2013, 10:01 AM)Kimoszin Wrote: To check whether you have money or not, you will have to withdraw.

Sample:
Code:
Say (X Y Z:hi)
NPCSay (X Y Z:withdraw)
Withdraw (X Y Z:!potionId! !potionPrice! !potionAmount!)
NPCSay (X Y Z:yes)
FullCheck (32350 32227 7:Full Continue Else NoMoney Code 3031>0)

Dont work becouse 3031 is gold coin, make one macro after withdraw put macro [macro: check gold or platinium or crystal coins, if have x money continue and if dont have x money logout. After i make, im in school jejeje


RE: IF NOT MONEY BANK LOG? - erleo - 11-12-2013

(11-12-2013, 10:57 AM)erleo Wrote: [quote='Kimoszin' pid='75004' dateline='1384250498']
To check whether you have money or not, you will have to withdraw.

Sample:
Code:
Say (X Y Z:hi)
NPCSay (X Y Z:withdraw)
Withdraw (X Y Z:!potionId! !potionPrice! !potionAmount!)
NPCSay (X Y Z:yes)
FullCheck (32350 32227 7:Full Continue Else NoMoney Code 3031>0)

Dont work becouse 3031 is gold coin, make one macro after withdraw put macro [macro: check gold or platinium or crystal coins, if have x money continue and if dont have x money logout.


RE: IF NOT MONEY BANK LOG? - XAfter - 11-12-2013

CAMON GUYS !Tongue


RE: IF NOT MONEY BANK LOG? - Kimoszin - 11-12-2013

I told you how to do. =)

Anyway, I use this in my script ghostland
[macro]0 {Safe Bank} !safeBanking!==1 Misc.ItemCountEx(!potionId!)<!potionAmount! Misc.ItemCountEx(!foodId!)<!foodAmount! gold:=Misc.ItemCountEx(3031) VarAdd(safeBank, !gold!) gold:=Misc.ItemCountEx(3035) VarAdd(safeBank, !gold!) gold:=Misc.ItemCountEx(3043) VarAdd(safeBank, !gold!) !safeBank!<=0 Self.Logout() BBot.TogglePause()[/macro]


RE: IF NOT MONEY BANK LOG? - XAfter - 11-13-2013

VERY NICE.


u without Variables?


RE: IF NOT MONEY BANK LOG? - erleo - 11-13-2013

Put on variables : gold=x money for continue or logout

And put that macro after withdraw