Project

General

Profile

Close » History » Version 13

Per Amundsen, 02/16/2023 01:42 AM

1 1 Per Amundsen
_Added in 1.5_
2
3 7 Per Amundsen
*/close [-acfgimst@] [name1] ... [nameN]*
4 1 Per Amundsen
5 6 Per Amundsen
Closes all windows of the specific type and/or all windows matching name [nameN] on current connection.
6 1 Per Amundsen
7 10 Per Amundsen
You can use [[Scripting_Wildcards|wildcards]] in [nameN].
8 1 Per Amundsen
9
If no window names or types is defined, current window is closed.
10
11
*Switches*
12
13 13 Per Amundsen
table(ktable).
14
|*Switch*|*Description*|
15
| -a | Close on all connections. *(AdiIRC only)* |
16
| -c | Dcc chat windows. |
17
| -f | *TODO* |
18
| -g | *TODO* |
19
| -i | *TODO* |
20
| -m | Private/Query windows. |
21
| -p | All non scripted Tips. |
22
| -s | *TODO* |
23
| -t | Server/Status windows. |
24
| <notextile>-@</notextile> | <notextile>Custom windows, @<wid> can be used for [nameN] if this is defined.</notextile> |
25 5 Per Amundsen
26 8 Per Amundsen
*Parameters*
27 1 Per Amundsen
28 13 Per Amundsen
table(ktable).
29
|*Parameter*|*Description*|
30
| [name1] ... [nameN] | Windows to close. |
31 1 Per Amundsen
32
*Example*
33
34
<pre>
35
;Close all query and status windows.
36
/close -mt
37
38 12 Per Amundsen
;Close query window 'Nick'
39
/close Nick
40 1 Per Amundsen
</pre>