Posted 01 November 2011 - 05:45 PM
Posted 01 November 2011 - 07:44 PM
... this message has been approved by me...
Posted 01 November 2011 - 10:12 PM
each account has its own unique email,password and proxy.
sometimes something comes up that the actions can no longer continue and doing so just causes ubot to crash. Ive done this with lots of if statements to end the loop but its a pain nesting everything inside the else or then nodes. It gets a little cluttered when you have several. I think it would just be easier to have a command that skips the current loop.
Stoping the script would do just that, i want to continue to run, just skipping over that instance of that loop.
Posted 01 November 2011 - 10:15 PM
that if something then do something, else dont do anything, and ends or exit the loop.
The loop while before it you can set #var to true
and if it reaches a conditional that you wish to exit the loop set #var to false
and in the loop while comparison #var = true
otherwise it would exit the loop as soon as the #var is false
Posted 07 December 2011 - 03:28 AM
Posted 20 December 2011 - 03:59 PM
In your case you need to run that loop in a defined custom command/script, and you need to use that if statement, that will trigger return. By this both, defined command/script and your loop will be terminated, and bot will continue with commands after custom command/script.
Hope this will help you.
CLICK UBotDev.com - Download FREE UBot Plugins!
Posted 14 February 2012 - 08:01 PM
To be more specific, I'm trying to create a test bot that enters a false value in the UBot Playground CAPTCHA form using the manual $solvecaptcha browser function. After entering a false value on purpose, the bot submits the form. The 'loop while' is supposed to search the page for the text confirming an incorrectly entered CAPTCHA value and loop until the value is entered correctly. However, it just keeps looping, even after the value has been entered correctly.
Thanks to anyone who can offer some input, I just bought UBot a few days ago and am loving it, just need to overcome this first hurdle...
Posted 14 February 2012 - 11:06 PM
Edited by keiooz, 14 February 2012 - 11:07 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users