Conditions

#81

I would appreciate it if you do, good work

0 Likes

#82

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

0 Likes

#83

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

0 Likes

#84

Ideally both location and last dead location.

0 Likes

#85

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

1 Like

#86

@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.

0 Likes

#87

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.

0 Likes

#88

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

#89

Added.

2 Likes

#90

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

1 Like

#91

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

0 Likes

#92

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

0 Likes

#93

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

1 Like

#95

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

0 Likes

#96

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.

0 Likes

#98

nvm, just realized this would not solve my problem.

1 Like

#99

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 ?

0 Likes

#100

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

0 Likes

#101

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

0 Likes

#102

so this will work ?

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

0 Likes