From WikiChip
mirc/commands/close
< mirc‎ | commands
Revision as of 14:35, 22 December 2013 by Ouims (talk | contribs)

The /close command is used to close all the windows of a specified type and matching a specific name. If no name is used, all the windows with the specified type will close. Names support wildcard characters. You can also close the Nth window for -cfsg, with -cNfNsNgN, if you specify a name, the Nth window matching that name will be closed

Synopsis

/close [-ticfgms@] [name1] ...[nameN]
/close [-cNfNsNgN] [name1] ...[nameN]

Switches

  • -i - Inactive DCC windows (send, get, chat, fserv)
  • -it - Inactive Status window (not connected nor connecting)
  • -t - Status Window
  • -l - Channel list windows
  • -k - Link windows
  • -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