top of page

Uopilot Script Commands

| Command | Syntax | Description | |---------|--------|-------------| | Sleep | Sleep ms | Pauses script (milliseconds). | | Wait | Wait ms | Same as Sleep. | | Goto | Goto label | Jumps to label (e.g., :start ). | | Call | Call sub_name | Calls subroutine. | | Return | Return | Returns from subroutine. | | If | If condition | Conditional branch (see variables below). |

Scans the screen for specific pixel colors to trigger actions. Script Management pause_script resume_script stop_script Manages multiple parallel scripts. Variable Setting Defines or updates variable values. Reserved System Variables uopilot script commands

: Outputs information to the UoPilot log window, which is essential for debugging complex scripts. Best Practices for Scripting | | Call | Call sub_name | Calls subroutine

: Use the set workwindow command to bind UoPilot to a specific window. This ensures clicks go to the right place even if the window isn't in the foreground. | Scans the screen for specific pixel colors

: Simulates a click-and-drag motion from the first set of coordinates to the second. double_left [x y] : Executes a double left-click. 2. Keyboard Simulation

MWS Powered and secured.

bottom of page