From WikiChip
Difference between revisions of "mirc/commands/close"
< mirc‎ | commands

(Created page with "The '''/close command''' is used to close all the windows a specified type and with a specific nickname. If no name is used, all the windows with the specified type will close...")
(No difference)

Revision as of 02:26, 1 December 2013

The /close command is used to close all the windows a specified type and with a specific nickname. If no name is used, all the windows with the specified type will close. Nicknames support wildcard characters.

The clear command can also be used to clear the Nth window of a specific type.

The -t switch, which can be used to close a status window, can also be combined with the -i switch to close the window only if the not connected (or connecting) to a server.

Synopsis

/close [-ticfgms@] [nick1] ...[nickN]
/close [-cNfNsNgN] [nick1] ...[nickN]

Switches

  • -i - Inactive DCC windows
  • -it - Inactive Status window
  • -t - Status Window
  • -c - DCC Chat windows
  • -f - DCC fserve windows
  • -g - DCC Get windows
  • -s - DCC Send windows
  • -m - Query windows
  • -@ - Custom windows
  • -cN - Nth DCC chat window
  • -fN - Nth DCC fserve windows
  • -gN - Nth DCC Get windows
  • -sN - Nth DCC Send windows

Parameters

  • [nick1] - a nickname for the window to close
  • [nickN] - Additional nicknames

Example

;Close all query windows
/close -m
 
;Close all custom windows containing "#" in their name
/close -@ @*#*
 
;Close the 2nd DCC chat window with Dave
/close -c2 Dave

Compatibility

Added: mIRC v4.6

Added On: 07/09/1996

Note: Individual switches were not taken into consideration.

See also