MrSharkBait911 0 Posted June 2, 2013 Report Share Posted June 2, 2013 hey! I ordered UBot yesturday and so far im loving it! Im making an account creator and it needs proxies. now, if the current proxy fails, i would like my bot to restart the loop. how would i do that? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 2, 2013 Report Share Posted June 2, 2013 after navigateif(exists(error innertext on the page for failed proxy)than (call define command againelse (proceed with rest of code Quote Link to post Share on other sites
MrSharkBait911 0 Posted June 2, 2013 Author Report Share Posted June 2, 2013 after navigateif(exists(error innertext on the page for failed proxy)than (call define command againelse (proceed with rest of codethanks but how can i tell the bot to redo the loop or continue?im sorry this may sound like bad question but, hey, im new Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 2, 2013 Report Share Posted June 2, 2013 place your code into a defined command call the command to process whats contained inside it. after you change proxy, then navigateafter the navigate, check with a if statement if(extsits( innertext="the error message from proxy failing)))than call the command again hereelse place remaining code here 1 Quote Link to post Share on other sites
MrSharkBait911 0 Posted June 2, 2013 Author Report Share Posted June 2, 2013 place your code into a defined command call the command to process whats contained inside it. after you change proxy, then navigateafter the navigate, check with a if statement if(extsits( innertext="the error message from proxy failing)))than call the command again hereelse place remaining code herethanks i understand this now Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted June 2, 2013 Report Share Posted June 2, 2013 http://www.ubotstudio.com/tutorials vid 6 and 8 show the define commands put your proxy code in a define command, it's like a container. the "if" is for IF proxy is bad THEN go to "proxy commands" which are in the define command.ELSE (otherwise) do nothing if that's what you want. You don't need else unless you want it to do something specific. You can leave blank and bot will continue as if nothing happened. Need to watch some vids...this is far from plug n play, big learning curve. this is good stuff too... http://wiki.ubotstudio.com/wiki/Main_Page 1 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.