XpownX 8 Posted May 17, 2013 Report Share Posted May 17, 2013 Hello user of ubot studio My question is:How i can restart the bot when it has finished? What function i need to use? so it will begin at the starter of the bot. Thanks Quote Link to post Share on other sites
UBotDev 276 Posted May 17, 2013 Report Share Posted May 17, 2013 Just add a loop command around the code you need to re-run... Quote Link to post Share on other sites
gavind 6 Posted May 19, 2013 Report Share Posted May 19, 2013 Thanks. Do you also have a sample script for that loop please? Quote Link to post Share on other sites
UBotDev 276 Posted May 20, 2013 Report Share Posted May 20, 2013 loop while($true) { RUN Command() } define RUN Command { comment("Do something...") } Quote Link to post Share on other sites
BigBot 0 Posted May 20, 2013 Report Share Posted May 20, 2013 Thanks, happy to know that 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.