webpro 31 Posted September 29, 2014 Report Share Posted September 29, 2014 I need to tell the multithreaded bot to stop doing what it's doing on certain accounts, if it sees a certain text.ex: TOO MANY LIKES, slowdown (you know what i mean lol) So i created an IF statement and it works fine but the thing is, it stops the entire bot as the hole thing runs into a define command.Well the entire click/job procedure for each account is under ONE define. How would you handle this ?In way i need:1) If you encounter this, stop this thread only2) Don't stop the procedure on the other running threads unless IF statement Thanks Quote Link to post Share on other sites
UBotDev 276 Posted September 29, 2014 Report Share Posted September 29, 2014 Obviously you shouldn't use stop command, because that stops the main thread and consequentially also sub-threads. Instead you should add some code (conditions) that will skip all the code and go to the end of code that's inside a "thread" container. That way only that specific thread will close. 1 Quote Link to post Share on other sites
Kev 69 Posted October 15, 2014 Report Share Posted October 15, 2014 Put your multithread code inside a Loop While > $exists =$true/$false and that should do it. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.