How to set proxy according to conditional use?

I want to add condition on proxy like when this “You have exceeded the allowed number of login requests.” text appears in the source then use next proxy and ban the current proxy

because currently single proxy repeating request again n again for 10-20 request which leads to retry or ban

i set this You have exceeded the allowed number of login requests. in the keycheck as retry

See if this helps

“You have exceeded the allowed number of login requests.” If this error appears after a certain number of attempts, change the setting shown in the image in Configs Settings.