For more advanced automation, UoPilot supports conditional operators like if , else , and end_if . A common best practice when using findimage is to calculate the center of the found image for more reliable clicking:
In UoPilot, each line typically contains one command. If the first word in a line is not a recognized command, the software treats the entire line as a comment. For better script organization, use // to explicitly mark comments. Essential Script Commands uopilot script commands updated
Stores the last message received from the server (specific to supported game clients). For better script organization, use // to explicitly
: Moves the cursor smoothly to coordinates, mimicking human movement. Counts milliseconds since the script began
Counts milliseconds since the script began. Can be reset with set timer 0 . Returns the current system time. lastmsg
Below is an updated guide to the most essential as of 2026. Core Command Syntax