I'm using the following reconnect action:
The problem is: Whenever it reconnects, it doesnt open backpacks, and if he reconnects after the server save, the bot always get stuck.
local acc = "account number"
local pass = "password"
local CharToLogin = "character name"
if(connected == false) then
I do have an action to open backpacks:
But if i turn it on, it gets bugged when my character goes depot to refill, because the script closes some backpacks to deposit items and stuff, and the action above makes the bot stop working properly.
if (windowcount() < 3) then
openitem(LootBP, MainBP, true)
openitem(GoldBP, MainBP, true)
So my question is: Is it possible to make an action to turn on/off another action? i was thinking in something like: "if character is not on depot, then turn 'backpack opener action' on if not, turn 'backpack opener action' off.
If character is into cave then turn 'backpack opener action' on, if not, turn 'backpack opener action' off.
Is it possible?
Anyone have an action like this?
Anyone can make it?