The following attributes can be used with any command.
onfail: setting onfail to true will override exception errors returned by ComScript that would ordinarily stop the execution of the profile. This is a very useful attribute for commands like sendfile where stopping execution because a file was not successfully transferred to a website is not desirable. It is also useful to set onfail to true when communicating via TCP when connections are less than 100% reliable. As a general rule, is it wise to test the response from devices for validity with a conditional expression (use typetest, sizeof, or exact string comparison). If the response is not valid, have ComScript send you an email or text message alert. Onfail is set to false by default.
logfile: setting logfile to false on any individual command will stop ComScript from writing profile actions to the log.txt file. The set command can also be used to turn off/on all subsequent logfile activity.