Conditions

I would appreciate it if you do, good work

Could you add ‘use reverse scroll’ as a ‘then’?

Yes, what option do you need? Player / location / last dead location?

Ideally both location and last dead location.

Added them all. Death, location, player, and last return.

1 Like

@Ryan can you show my how to create a condition to do trade.

When the trade finisht change scrip to go back to other city doing trade again.

That’s not really what conditions are for. You can do that with a script by walking back to the previous town with new goods. I believe I explained this to you or someone else in another thread.

What about for “If Player in UnionParty” and “if Player Not in UnionParty”?
So the Warrior can stop lure if the second got dc

Edit:
And “if condition” is true, then change “Profile” as argument.
I know i can make it with Python but i think its interesting for the others

2 Likes

Added.

2 Likes

Wow so fast. I think in the next Release?
Thanks

1 Like

Yes, it usually doesn’t take much time to add more conditions.

Maybe you could something like “current time” too. So it would be possible to trigger something at a exact time a day

Added. You’ll specify it like this in a 24 hour format: “hh:mm” aka “19:00”.

1 Like

this conditions also work when stop botting? or bot always must be start?

They work if the bot is stopped as well. If you want a specific condition to only be used when botting you should add a “botting” check to the if statement.

nvm, just realized this would not solve my problem.

1 Like

if (Botting && Botting time (minutes) >= 3 && Not attacked (minutes) >= 3) { Stop bot; Start bot; }
if (Botting && Botting time (minutes) >= 5 && Not attacked (minutes) >= 5) { Python ( restartBot ); }
[20:44:45] Bot started

why these are not working ? does buffs counting as attack ?

EDIT:
does buffs counting as attack ? or if a monster attacking me that i have ignored ?

Because you can’t simultaneously stop the bot and start the bot again. Buffs do not count as an attack.

so this will work ?

def restartBot():
stop_bot()
Timer(1.0, start_bot).start()