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...")
 
Line 1: Line 1:
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 '''/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
 
 
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 ==
 
== Synopsis ==
  /close [-ticfgms@] [nick1] ...[nickN]
+
  /close [-ticfgms@] [name1] ...[nameN]
  /close [-cNfNsNgN] [nick1] ...[nickN]
+
  /close [-cNfNsNgN] [name1] ...[nameN]
  
 
== Switches ==
 
== Switches ==
* '''-i''' - Inactive DCC windows
+
* '''-i''' - Inactive DCC windows (send, get, chat, fserv)
* '''-it''' - Inactive Status window
+
* '''-it''' - Inactive Status window (not connected nor connecting)
 
* '''-t''' - Status Window
 
* '''-t''' - Status Window
 +
* '''-l''' - Channel list windows
 +
* '''-k''' - Link windows
 
* '''-c''' - DCC Chat windows
 
* '''-c''' - DCC Chat windows
 
* '''-f''' - DCC fserve windows
 
* '''-f''' - DCC fserve windows

Revision as of 13:35, 22 December 2013

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