Jump to content
UBot Underground

Get out of loop


Recommended Posts

use a

 

set var = i dont have what i want

 

loop while (comparison(#var = dont have what i want))

 

then in your loop while once you have what you want set #var = i have what i want

 

 

Thanks for reply but i got new problem.

 

Here is the situation :

 

1. I scrape 10 items and add it to a list

2. I run a loop based on list total on step 1 to check if an item on list step 1 contains "what i don't want" then change its value to "what i want" and get out of the loop. Else do nothing

3. I want to check if the value replacement on step 2 is succeed or failed. So I do the same step as step 1 and run loop. If i got "what i want" then set status to succeed else set status to failed.

 

How do i have to write the code? Please help

Link to post
Share on other sites

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...