Jump to content
UBot Underground

Stoping a certain thread only ?


Recommended Posts

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 only

2) Don't stop the procedure on the other running threads unless IF statement

 

Thanks

Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...