ThomasAJ 0 Posted February 17, 2018 Report Share Posted February 17, 2018 When I compile the bot and get an EXE how do I bail out of the EXE when certain 'test' conditions are not met. Example: Even in a low level complexity script there are many tests done along the way to see it the next page has been loaded.Let's say I load 5 pages with checks after each page is loaded to see if in fact it has been loaded before I proceed to load the next page. So that gives be 5 levels of IF THEN ELSE indentations. Ideally I would like to for example...If the first page is not loaded (for whatever reason whatsoever) I call a subroutine to send an email and then Stop Script. But will the EXE terminate or will it just hang there? Quote Link to post Share on other sites
pftg4 102 Posted February 17, 2018 Report Share Posted February 17, 2018 just stops the script tab you are on hope this helps Dave Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 17, 2018 Report Share Posted February 17, 2018 Stop script won't exit the program, but if you want that behavior there is a free plugin called close bot and my Elite Ubot Plugin has a command for it as well. Quote Link to post Share on other sites
ThomasAJ 0 Posted February 18, 2018 Author Report Share Posted February 18, 2018 Thanks HelloInsomnia i will look into 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.