dinuxvv 0 Posted March 17, 2016 Report Share Posted March 17, 2016 must function for my bot not stop myself! ie to start again ever since the beginning? what is the function does anyone know? not always to click on "RUN" but it's annoying, always to click! I need a function so that it only stop when I want .... Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted March 17, 2016 Report Share Posted March 17, 2016 What is wrong with the stop or pause buttons? Quote Link to post Share on other sites
dinuxvv 0 Posted March 17, 2016 Author Report Share Posted March 17, 2016 I do not want the bot to only! I want it to work and so when I click to stop ... that is not always want to be clicking the "RUN" Quote Link to post Share on other sites
dinuxvv 0 Posted March 17, 2016 Author Report Share Posted March 17, 2016 I made a program and not used buttons! I used only the source "run, pause, stop! I want the program is 10 hours o'clock to run without stopping! Anyone know how to do this? Quote Link to post Share on other sites
davidford76 12 Posted March 17, 2016 Report Share Posted March 17, 2016 You might need to use a loop or maybe a if then statement depending on what your trying to do. Make sure that you go through all the training videos on the ubot website and also look at videos on youtube as well to start learning how to use ubot. There is tons of videos that shows you the basics on youtube about how to use ubot. And there is some members on this forum that has more advanced training videos for sale as well. Quote Link to post Share on other sites
dinuxvv 0 Posted March 17, 2016 Author Report Share Posted March 17, 2016 already been to see ... what I did to the bot was working for a long time, it was copy the code several times, so the bot not stop! but so is wrong, weighs much code ... I need a function to repeat again automatically so the program does not stop Quote Link to post Share on other sites
pash 504 Posted March 18, 2016 Report Share Posted March 18, 2016 try.http://network.ubotstudio.com/forum/index.php/topic/12766-how-does-pause-script-and-stop-script-work/http://network.ubotstudio.com/forum/index.php/topic/18525-ui-html-panel-pause-stop-buttonshttp://ubotplugin.com/2015/11/27/start-pause-resume-stop/ Quote Link to post Share on other sites
Ricx 3 Posted March 18, 2016 Report Share Posted March 18, 2016 I think what you are asking is how to restart your entire program, you can probably put the main part of your code within a DEFINE and then call that define wherever you need to. http://wiki.ubotstudio.com/wiki/Define Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted March 18, 2016 Report Share Posted March 18, 2016 These chaps are right Dinuxvv, you need to put your code into a "loop while", So basically put a variable at the very beginning of your bot, something like "#running=true"Then place the code you want to be repeated within a "loop while - #running=true" command, Then if you add your own "Start" and "Stop" buttons you can add "#running=false" to your stop button which would make your bot exit the loop to stop You may want to modify or fiddle with it until your happy, but thats the basic approach CheersCJ Quote Link to post Share on other sites
pablo322 1 Posted June 1, 2016 Report Share Posted June 1, 2016 Hi folks, I need to know how to repeat certain commands EXAMPLE: USERNAMEPASSWORD REPEAT PROCESS USERNAMEPASSWORD BUT DIFERENT INFORMATIONI HOPE THEY UNDERSTAND ME, FROM ALREADY THANK YOU VERY MUCH! 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.