From WikiChip
Difference between revisions of "mirc/commands/close"
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|/close Command | + | {{mirc title|/close Command}} |
− | 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 '''/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 {{mirc|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 == | == Synopsis == | ||
Line 17: | Line 17: | ||
* '''-s''' - DCC Send windows | * '''-s''' - DCC Send windows | ||
* '''-m''' - Query windows | * '''-m''' - Query windows | ||
− | * '''-@'''[ID] - | + | * '''-@'''[ID/name] - A custom window's name or a window ID |
* '''-cN''' - Nth DCC chat window | * '''-cN''' - Nth DCC chat window | ||
* '''-fN''' - Nth DCC fserve windows | * '''-fN''' - Nth DCC fserve windows |
Latest revision as of 13:07, 20 October 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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[edit]
/close [-ticfgms@[ID]axdnu] [name1] ...[nameN] /close [-cNfNsNgN] [name1] ...[nameN]
Switches[edit]
- -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
- -@[ID/name] - A custom window's name or a window ID
- -cN - Nth DCC chat window
- -fN - Nth DCC fserve windows
- -gN - Nth DCC Get windows
- -sN - Nth DCC Send windows
- a - apply to all server connections
- x - apply to current server connection
- d - apply to single message window
- n - apply to notify list
- u - apply to urls list
Parameters[edit]
- [nick1] - a nickname for the window to close
- [nickN] - Additional nicknames
Example[edit]
;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[edit]
Added: mIRC v4.6
Added on: 07 Sep 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
mIRC commands list