| Command | Syntax | Description | |---------|--------|-------------| | Let | Let var = value | Assigns value (number or string). | | Add | Add var, value | Adds to variable. | | Sub | Sub var, value | Subtracts. | | Inc | Inc var | Increments by 1. | | Dec | Dec var | Decrements by 1. | | Cmp | Cmp var1, var2 | Compares values (used with If ). |
: Sets the target window for all subsequent commands.
The percent symbol ( % ) identifies an array. Indexes are specified in square brackets, and arrays can be one-dimensional or two-dimensional: uopilot script commands
Moves the cursor to the designated coordinates without clicking. This is highly useful for triggering hover states or UI tooltips. move 800, 600 // Moves the mouse cursor to X=800, Y=600 Use code with caution. drag and drop
set $s "test string" set $filename "captcha.png" set $message "Hello World" | | Inc | Inc var | Increments by 1
| Command | Syntax | Description | |---------|--------|-------------| | Goto | Goto Label | Jumps to a label | | Label | Label Name | Defines a jump target | | If / Else | If Var = Value | Conditional execution | | Loop / EndLoop | Loop 5 | Repeats block N times | | Wait | Wait 1000 | Pauses for milliseconds |
Example: if 100, 200 16777215 (checks if the pixel at 100, 200 is white). | : Sets the target window for all subsequent commands
: Jumps execution to a specific point in the script marked by a label (defined with a colon : ).