world.WindowDelete

MUSHclient script function (Method) — introduced in version 4.37

Deletes a miniwindow

Prototype

long WindowDelete(BSTR WindowName);

Data type meanings

Description

This deletes an existing miniwindow, freeing all the resources it used.

WindowName - the name of the existing miniwindow.

This forces a redraw of the output window, so the window is removed from the screen, if necessary.

Lua example

WindowDelete (win)

Return value

eNoSuchWindow - there is no such miniwindow

eOK - success

Return code meanings

Related topic

MiniWindows

See also

FunctionDescription
WindowCreateCreates a miniwindow
WindowInfoReturns information about a miniwindow
WindowListLists all miniwindows
WindowShowShows or hides a miniwindow