a2mateit 395 Posted January 26, 2012 Report Share Posted January 26, 2012 Hello All, I am trying to figure out how to loop while until a certain amount of accounts are created. For example: I have a ui text box where you enter the amount of accounts you want created, we'll call it variable #accounts. I am trying to figure out how to loop while, until the amount of accounts in list %accounts equals the variable #accounts. The reason I need this is because sometimes captcha's fail, or something else goes wrong. I am sure that this is fairly simple, I am just having a hard time figuring this out. Thanks in advance.Justin Quote Link to post Share on other sites
JohnB 255 Posted January 26, 2012 Report Share Posted January 26, 2012 Set a variable to 0 before the loop. Create an if statement that checks for the existence of a successful account creation. When it finds it, increment the variable. John Quote Link to post Share on other sites
a2mateit 395 Posted January 26, 2012 Author Report Share Posted January 26, 2012 Hey John, Thanks for your super quick reply (like always ), but I am still having troubles. This is what I have so far:hotmail account creator.ubot I am trying to make it loop while until the list total matches the what is entered into the #account variable. That way it will actually create the correct number of accounts in case something messes up along the way. Thanks again for your help. Justin Quote Link to post Share on other sites
JohnB 255 Posted January 26, 2012 Report Share Posted January 26, 2012 Checking your script now...in the meantime, this is what you are asking about...but I'll see how it applies to your script. http://screencast.com/t/pWGvfvHt John Quote Link to post Share on other sites
a2mateit 395 Posted January 26, 2012 Author Report Share Posted January 26, 2012 Thanks John, Didn't see that tutorial when I was searching. Next time I will search a little longer before making a post. Getting ready to call it a night though, so don't make it a priority to help me tonight. I will pick up coding where I left off in the morning. Thanks,Justin Quote Link to post Share on other sites
a2mateit 395 Posted January 26, 2012 Author Report Share Posted January 26, 2012 Thanks John, This issue is solved now... I decided it would be a good idea to give something back to the community so I am sharing this for all here: http://ubotstudio.com/forum/index.php?/topic/9216-free-hotmail-account-creator/ 1 Quote Link to post Share on other sites
JohnB 255 Posted January 26, 2012 Report Share Posted January 26, 2012 Thank you! +1 1 Quote Link to post Share on other sites
a2mateit 395 Posted January 26, 2012 Author Report Share Posted January 26, 2012 No, No, No... Thank you! 2 Quote Link to post Share on other sites
newcoder 5 Posted December 22, 2013 Report Share Posted December 22, 2013 how do i write.... while loop....... check if element exisit on the page.. if exisit then end the loop and stop until keep checking contrinous if element is there by refereshing the page ? 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.