Uopilot Script Commands -
The UoPilot scripting language is line-based. Each line typically contains one command followed by its parameters. Anything following // is ignored by the program. Variable Prefixes: # : Numeric variables (e.g., #hp , #count ). $ : String/line variables (e.g., $name ). % : Array identifiers (e.g., %map ). Essential Command Categories 1. Mouse & Keyboard Control
UoPilot is a powerful automation tool and clicker used primarily for MMORPGs like Ultima Online, MU Online, and Lineage 2, though its versatile scripting language makes it suitable for general Windows task automation. Originally developed by and maintained by WKnight , it allows users to emulate mouse clicks, keyboard presses, and complex logical decision-making based on screen data. Core Scripting Syntax
right_down : Presses and holds the right mouse button. uopilot script commands
goto : Jumps to a specific section of the script marked by a label (e.g., :start ). end_script : Terminates the execution of the current script.
// Simple loop to attack and heal :start if #hp < 50 send f1 // F1 bound to healing potion wait 2s end_if move 400, 230 // Move to center left 400, 230 // Target enemy wait 500 goto start Use code with caution. The UoPilot scripting language is line-based
findimage : Searches for a specific image on the screen. This is often used for detecting icons, monsters, or menu buttons.
Timing is critical to prevent scripts from executing too fast for the game client to register. Variable Prefixes: # : Numeric variables (e
repeat : Repeats a block of code a specific number of times. break [level] : Interrupts a while , for , or repeat cycle.
Advanced scripts use these to "see" what is happening in the game.
get color #var : Retrieves the color value of a pixel and stores it in a variable.