mIRC Homepage
Posted By: MTech /part - 27/05/03 02:05 AM
u use the alias /p to close chans
but how can i close querys use /p also?
Posted By: KingTomato Re: /part - 27/05/03 02:14 AM
alias p {
if ($chr(35) isin $active) { /part $active }
else if ($active != Status Window) { /window -c $active }
}
Posted By: FunChatter Re: /part - 27/05/03 12:01 PM
Straight from the help file...

/close [-icfgms@] [nick1] ... [nickN]
Closes all windows of the specified type and the specified nicknames. If no nicknames are given, all windows of the specified type are closed. The type of window is denoted by c for chat, f for fserve, g for get, i for inactive dcc windows, m for message (query), s for send, and @ for custom windows.

You can specify the Nth window for -cfgs by appending a number, eg. /close -s4 nick, would close the 4th open dcc send to nick.

You can also use a wildcard as the window name and all matching windows will be closed.

© mIRC Discussion Forums