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

cesario678

Client
Регистрация
10.03.2022
Сообщения
143
Благодарностей
11
Баллы
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
Сообщения
143
Благодарностей
11
Баллы
18

cesario678

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

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