BBot - The best bot of the world
it is possible this macro with BBOT? - 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: it is possible this macro with BBOT? (/thread-11749.html)



it is possible this macro with BBOT? - jferral - 09-11-2013

I NEED TO KNOW IF IS POSSIBLE THIS WITH BBOT


I WANT TO LOGOUT WHEN STAMINA LOW (self.staminamin<=870)

but i need relog with other character in the same acc


i thinking in something like this

use protector low stamina to disable basic tools and execute this macro

self.staminamin()<=870
cavebot.stop()

status.battle()==0
self.logout() -> for this reason i use protector this don't reconect again cuz i disable basic tools
tibia.sendkey(VK#) -> sendkey down arrow to choice other char in my list char
tibia.senfkey(VK#) -> sendkey to press enter and log in the second char
Bot.LoadSettings(scriptplayer2) -> load script for second player (same script just change relog numer) and of curse cavebot, killer, basic tools ( reopen bps and relog with the first char), and protectors already enable at load script.



is it possible this with bbot? i dont know how works sendkey, or which function i can use? to press down arrow and press enter