BBot - The best bot of the world
SIMPLE - ADD by Key Press to Function || Bot.LoadSettings(Name) - 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: SIMPLE - ADD by Key Press to Function || Bot.LoadSettings(Name) (/thread-21208.html)



SIMPLE - ADD by Key Press to Function || Bot.LoadSettings(Name) - mostppl - 09-21-2020

Hello..

ADD by Key Press to Function || Bot.LoadSettings(Name)

[spoiler]
20 {LOAD} Bot.LoadSettings(Name) Exit()[/spoiler]

Example:

If i press KEY F4 ||| BBOT LOAD CONFIG NAME X

Does not work
20 {LOAD} Tibia.KeyDown(115)==1 Bot.LoadSettings(Name) Exit()
20 {LOAD} Tibia.IsKeyDown(115)==1 Bot.LoadSettings(Name) Exit()
20 {LOAD} Tibia.SendKey(:K_F4 )==1 Bot.LoadSettings(Name) Exit()

Does not work
20 {LOAD} Bot.LoadSettings(Name) Tibia.KeyDown(115)==1 Exit()
20 {LOAD} Bot.LoadSettings(Name) Tibia.IsKeyDown(115)==1 Exit()
20 {LOAD} Bot.LoadSettings(Name) Tibia.SendKey(:K_F4 )==1 Exit()

OBS: Yes i change (Name) to my name config in all tests

Only Work this:
20 {LOAD} Bot.LoadSettings(Name) Exit()
But no have Key Press :/


RE: SIMPLE - ADD by Key Press to Function || Bot.LoadSettings(Name) - Nvp - 09-22-2020

100 {loadh} Tibia.IsKeyDown(115)==1 Bot.LoadSettings(test)

it works for me


RE: SIMPLE - ADD by Key Press to Function || Bot.LoadSettings(Name) - mostppl - 09-23-2020

(09-22-2020, 07:01 AM)Nvp Wrote: 100 {loadh} Tibia.IsKeyDown(115)==1 Bot.LoadSettings(test)

it works for me

Yes bro.. no work for me because have much letters in name script.. now work too.

Thank.