#MenuRes
- Set by
menu Get,menu GetDef,menu GetNum,menu GetProp
Also searchable as: #MenuRes · MenuRes · menu value
#MenuRes is the value read from a menu control by the last menu Get or
menu GetNum. See menu Get for what each kind of control gives.
Example
Section titled “Example”menu Clearmenu Window Size 180 80menu Edit name 10 10 150 Bobmenu Button ok 10 45 60 25 OKmenu Showset #MenuButton N/Awhile #MenuButton = N/A wait 1menu Get namedisplay ok The field says #MenuReshalt1.5 and 1.6
Section titled “1.5 and 1.6”- 1.5: keeps its value from one run to the next.
- 1.6: is emptied when a script starts, and is also set by
menu GetPropandmenu GetDef.
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.