# window changing ## Syntax ##
WINDOW REFNUM <number>
WINDOW GOTO active|<number>|<name>
WINDOW NEXT
WINDOW LAST
WINDOW PREVIOUS
WINDOW LEFT [-directional]
WINDOW RIGHT [-directional]
## Parameters ## | | | | --- | --- | | `REFNUM`: | Go to the window with the given number. | | `GOTO`: | Go to the window with activity, with the given nickname, channel or with the specified number. | | `NEXT`: | Go to the next window numerically. | | `LAST`: | Go to the previously active window. | | `PREVIOUS`: | Go to the previous window numerically. | | `LEFT`: | Go to the previous window numerically that is part of the current sticky group (or not part of any sticky group). | | `RIGHT`: | Go to the next window numerically that is part of the current sticky group (or not part of any sticky group). | | | | | --- | --- | | `-directional`: | Set the split window in the given direction to the current one active, or move the current window to the sticky group of the split window in the given direction. (If no sticky group remains, the split window collapses.) | 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.4.4). 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 GOTO 15 /WINDOW GOTO ACTIVE /WINDOW GOTO mike /WINDOW GOTO #irssi ## See also ## [JOIN](/documentation/help/join), [LEVELS](/documentation/help/levels), [LOG](/documentation/help/log), [QUERY](/documentation/help/query), [SET window_default_level](/documentation/settings.md#window-default-level), [SET window_default_hidelevel](/documentation/settings.md#window-default-hidelevel)