Size: 25
Comment:
|
Size: 1145
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">stop || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">stop || Allows you to pause a script at that line, so you can manually resume it afterward. Prior to !NeatBot version 3165T, the Stop command functioned exactly the same as [[End]] and would actually "stop" the script.. {{{ // Example way to use Stop in a script ... ... if $error goto label stop echo "We have no errors and will continue." ... ... end label stop echo "We had an error. The script will now pause so you can review the error. Please manually resume after reviewing." stop ... ... }}} ---- |
Usage: |
stop |
Example: |
stop |
Allows you to pause a script at that line, so you can manually resume it afterward. Prior to NeatBot version 3165T, the Stop command functioned exactly the same as End and would actually "stop" the script..
// Example way to use Stop in a script ... ... if $error goto label stop echo "We have no errors and will continue." ... ... end label stop echo "We had an error. The script will now pause so you can review the error. Please manually resume after reviewing." stop ... ...