# window/split window creation ## Syntax ##
WINDOW NEW [HIDDEN|SPLIT|-right SPLIT]
WINDOW CLOSE [<first> [<last>]]
WINDOW LIST
WINDOW HIDE [<number>|<name>]
WINDOW SHOW [-right] <number>|<name>
## Parameters ## | | | | --- | --- | | `NEW`: | Creates a new hidden or split window. | | `CLOSE`: | Closes the current window, the specified one or all windows in the given range. | | `LIST`: | List all the windows. | | `HIDE`: | Hides the current split window, or the split window specified by number or item name. | | `SHOW`: | Show the window specified by number or item name as a new split windows. It is made sticky when autostick_split_windows is turned on. | | | | | --- | --- | | `-right`: | Makes the command work on the width instead of height, or create the split window to the right instead of top. | Add the required arguments for the given command. Without arguments, the details (size, immortality, levels, server, name and sticky group) of the currently active window are displayed. If used with a number as argument, same as WINDOW REFNUM. LEVEL and HIDELEVEL modify the currently set level. Without arguments, the current level is displayed. Levels listed starting with `+` are added to the current levels. Levels listed starting with `-` are removed from the current levels. To clear the levels, start the new level setting with `NONE`. Levels listed starting with `^` are either removed or added from the current setting, depending on whether they were previously set or not (since Irssi 1.5). Levels listed as is are also added to the current levels. Afterwards, the new level setting is displayed. ## Description ## Manipulates the window layout and positioning attributes. ## Examples ## /WINDOW CLOSE /WINDOW NEW HIDDEN ## See also ## [JOIN](/documentation/help/1.4/join), [LEVELS](/documentation/help/1.4/levels), [LOG](/documentation/help/1.4/log), [QUERY](/documentation/help/1.4/query)