True

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " This command is a Qualifier Function. This command returns true. == Example == <pre> ui check box("Navigate to Google?", #checkhere) if($comparison(...")

Revision as of 17:04, 7 January 2013

This command is a Qualifier Function. This command returns true.

Example

ui check box("Navigate to Google?", #checkhere)
if($comparison(#checkhere, "=", $true)) {
    then {
        navigate("google.com", "Wait")
    }
    else {
    }
}

The script checks the variable assigned to the UI Check box to see if it returns true using the true qualifier in the comparisonqualifier.

The variable for the UI check box returns true when the checkbox is checked. Once set to true, the comparison qualifier evaluates the variable and matches it against the true qualifier. If they match, the script navigates to google.com.

File:True.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox