BBot - The best bot of the world
macro low stamina - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: BBot (https://forums.bmega.net/forum-3.html)
+--- Forum: General (https://forums.bmega.net/forum-19.html)
+--- Thread: macro low stamina (/thread-14906.html)



macro low stamina - sonrisas - 05-13-2014

i need macro to close tibia when stamina reach 25:00

Self.StaminaMins(25:00)Tibia.Close()

i was triyng but not sucess xD the tibia closes over and over Sad( im noob using macro
>.<


RE: macro low stamina - mr. Kris - 05-13-2014

Try this:

Code:
100 {Stamina Logout} Self.StaminaMins<1500 Cavebot.Stop Status.Battle()==0 Tibia.Close() Exit()



RE: macro low stamina - garst123 - 05-14-2014

if u wants smth better try this:

these macros will change variable called "a"

"a" will be 0 if u got stamina and there is more than 40 minutes to server save
"a" will be 1 if u got low stamina or there is less than 40 minutes to sever save


1000 {a=0} Misc.SystemTime.Hour()<>9 Self.StaminaMins()>900 a:=0 f:=9
1000 {a=1} Misc.SystemTime.Hour()==9 Misc.SystemTime.Minute()>20 a:=1 end
1000 {a=11} Self.StaminaMins()<900 a:=1 end

variable "a" in fullcheck, your character will go dp if u got low stamina or there is less than 40 mins to server save

FullCheck (33068 32068 11:!a!>0)

put this macro in macros list, then put it on waypoints list, near depositer for example, so your character will log out if u got low stamina or if there is less than 40 mins to server save
0 {logout} !a!==1 Self.Logout()