Uopilot Script Commands [better] Jun 2026
charposx , charposy : (Ultima Online specific) Tracks the character's current coordinates.
Example: if 100, 200 16777215 checks if the pixel at (100, 200) matches a specific color code.
One of UOPilot's strongest features is reacting to what is on the screen. if x, y color : Checks if the pixel at matches a specific hex color code. if 100, 200 255 (Checks if coordinate 100,200 is red).
These commands are the bread and butter of UoPilot, allowing the script to interact with the UI.
: Standard conditional logic. You can check for pixel colors or variable values. repeat end_repeat : Loops a block of code a specific number of times. while : Loops as long as the condition remains true. 4. Screen Detection (Pixel Checking)
UoPilot is famous for its ability to "react" to what is happening on screen.
: Performs a left-click at the specified coordinates. Example: left 150, 300 right [x y] : Performs a right-click. double_left [x y] : Executes a double left-click.