menu Set
menu Set {name} {value}Also searchable as: menu Set
menu Set changes a control:
| Control | What changes |
|---|---|
| Edit | Its text. |
| Memo | Its text; $ starts a new line. |
| Text | Its text; $ does not start a new line here. |
| Button | Its caption. |
| Check | Checked with any number other than 0 (#true), unchecked with 0 (#false). |
Drop-down lists and list boxes are changed with menu Combo and
menu List instead. If several controls share the name, all of them change.
Example
Section titled “Example”menu Clearmenu Window Size 180 70menu Text status 10 10 Waiting...menu Check loot 10 35 150 20 #true Loot corpsesmenu Showwait 40menu Set status Looting...menu Set loot #falsehalt1.5 and 1.6
Section titled “1.5 and 1.6”- 1.5: changes every control with that name.
- 1.6: changes the one control the name belongs to, and also sets radio buttons:
1checks one.$stays as written in both.
See also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.
The EasyUO 1.6 behaviour on this page was researched with help from the ScriptUO community: Gaderian's tutorial New Menu Code and how to adapt old scripts and the scripts its members share at scriptuo.com.