Commands:If then

The “if then” command sequence is a fairly common way to determine the flow of events in scripting. In UBot it works very simply. A qualifier (see above in section 1) follows the “if” command, and the action specified follows the “then” command. In the below example, the qualifier “search page” determines whether or not the “choose by attribute,” “click chosen” commands will be run. When the result of the qualifier is false, the child nodes within the “then” node will not be activated.