BBot - The best bot of the world
[MACRO]Logout in PZ when low stamina! - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html)
+--- Thread: [MACRO]Logout in PZ when low stamina! (/thread-15109.html)



[MACRO]Logout in PZ when low stamina! - Albert34567 - 05-25-2014

Hello, this easy macro will make bot to exit tibia if your character is in PZ and have got less than 900min left of stamina (900min = 15h).
Code:
Status.PZBlock()==1
Self.StaminaMins()<=900
Tibia.Close()
You can change 900 for the minutes you want (for example 14h=840min).
Easy but useful macro!


RE: [MACRO]Logout in PZ when low stamina! - erleo - 05-25-2014

Good macro +rep
Code:
1000 {Stamina Low} Status.PZBlock()==1 Self.StaminaMins()<=840 Tibia.Close()
?


RE: [MACRO]Logout in PZ when low stamina! - Albert34567 - 05-25-2014

(05-25-2014, 12:16 PM)erleo Wrote: Good macro +rep
Code:
1000 {Stamina Low} Status.PZBlock()==1 Self.StaminaMins()<=840 Tibia.Close()
?
Everytime you create a new macro the
Code:
1000 {macro name}
part is created that's why I didn't add that to the post.
And if you set the mins to 840 it will exit if stamina is equal or less than 14h, but I prefer setting 900 min so it won't go hunting with, for example with 845 min and just spend 5mins without low stamina.


RE: [MACRO]Logout in PZ when low stamina! - El Cecy - 05-27-2014

Check this macros.

Code:
0 {Stamina Logout Check} Self.Stamina%()<=!minstamina! [Hunt] CaveBot.GoLabel(Depositer) Exit() {Hunt} CaveBot.GoLabel(Hunt) Exit()

Code:
0 {Stamina Logout in Label} Self.Stamina%()<=!minstamina! Self.Logout() Exit()


Adjust the minstamina in variables..

U can download my Venore Orc Cave Script for see a good example of the macros in the cavebot..


RE: [MACRO]Logout in PZ when low stamina! - Albert34567 - 05-27-2014

(05-27-2014, 04:18 AM)El Cecy Wrote: Check this macros.

Code:
0 {Stamina Logout Check} Self.Stamina%()<=!minstamina! [Hunt] CaveBot.GoLabel(Depositer) Exit() {Hunt} CaveBot.GoLabel(Hunt) Exit()

Code:
0 {Stamina Logout in Label} Self.Stamina%()<=!minstamina! Self.Logout() Exit()


Adjust the minstamina in variables..

U can download my Venore Orc Cave Script for see a good example of the macros in the cavebot..
I understand how does that work.
Nice macro but a little bit complicated system for newbies. People who knows a little about bbot can use your system, but mine is for those who are used to use public scripts and do not know how to use Bbot.
Anyways, you get a rep for that system!