Repository navigation
EN API UO SingleProcedureExecution
Українська · English · Русский · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
bool UO.SingleProcedureExecution();
void UO.SingleProcedureExecution(bool value);Read without arguments; change with one argument — single-procedure admission.
| Parameter | Type | Meaning |
|---|---|---|
value |
bool |
true enables the named policy; false disables it. |
No parameters. → getter.
bool — The current value; reading does not start an action. The setter returns void.
Default: false.
The setting belongs to this script execution. A new run copies the independent engine/chat defaults once, not the graphical Profile. A script setter changes neither the GUI nor other runs already executing. Named objects, types, equipment sets, Ignore lists and globals deliberately retain their documented shared scope.
A standalone chat command changes the lasting engine context: later commands read that value and new runs copy it. Existing runs keep their own values. Chat automation has its own controller and keeps operating after the command returns; GUI automation uses separate settings.
See execution state and gameplay settings.
These API options belong to the script execution context. The three interface checkboxes have separate AutoLoad launch rules.
The manager checks admission of new procedure requests. true rejects admission while another procedure is running, paused or stopping; it does not terminate existing runs.
ProcedureLaunchRequest.ExecutionState → RejectOverlappingProcedure / TryAddRunning.
Replace demonstration serials or names with your own before running. Each block is a complete, separate .csx without a hidden wrapper.
bool current = UO.SingleProcedureExecution();
UO.Print("SingleProcedureExecution: " + current);UO.SingleProcedureExecution(true);
int Square(int value) => value * value;
UO.Print("Ordinary C# call: " + Square(7));
UO.Print("Launch policy: " + UO.SingleProcedureExecution());Use the current chat prefix (initially ,). Separate arguments with spaces. A getter prints the current value; a setter returns no output. Bool values accept true/false or 1/0. Quote strings containing spaces and quote the complete JSON argument. C# and chat use the same native registry.
,SingleProcedureExecution
,SingleProcedureExecution true
ClassicUO — Bad Newbie & C# Scripts IDE