How to make the bot achieve x successes and stop, and x consecutive errors and stop?

cesario678

Client
Регистрация
10.03.2022
Сообщения
130
Благодарностей
10
Баллы
18
Is there a way to make the bot run until it reaches a certain number of successes that I specify, and to completely stop it if it encounters a certain number of consecutive errors?
 

cesario678

Client
Регистрация
10.03.2022
Сообщения
130
Благодарностей
10
Баллы
18

cesario678

Client
Регистрация
10.03.2022
Сообщения
130
Благодарностей
10
Баллы
18

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)