Script function
world.SetWorldWindowStatus
Read about scripting
Type
Method
Summary
Changes the status of the current world window
Prototype
void SetWorldWindowStatus(short Parameter)
View list of data type meanings
Description
The parameter lets you change the status of the world window as follows:
1: Activates the window and displays it as a maximized window. (SW_SHOWMAXIMIZED)
2: Minimizes the window and activates the top-level window in the system’s list. (SW_MINIMIZE)
3: Activates and displays the window. If the window is minimized or maximized, restores it to its original size and position. (SW_RESTORE)
4: Activates and displays the window. If the window is minimized or maximized, restores it to its original size and position. (SW_SHOWNORMAL)
Any other value: Does nothing.
Available in MUSHclient version 4.60 onwards.
Lua example
SetWorldWindowStatus (1) -- maximize
SetWorldWindowStatus (4) -- show as normal
Return value
Nothing.
See Also ...
Function
(GetInfo) Gets information about the current world
(Help topic: function=SetWorldWindowStatus)