/KillChannel

Closes an active channel by removing all members from the channel. However, this does not delete the registry entry defining a persistent channel. To delete the channel, see the DeleteChannel switch.

Note  It is possible for users to enter the channel after being removed unless they are blocked by a persistent channel mode (for example, INVITE).

See also /AddChannel, /DeleteChannel, /SetChannel, /GetChannel, /ListChannels.

Syntax

Chatcmd Server /KillChannel:ChannelName[,Reason]

Parts

Server This switch does not support multiple servers in its command line. The /KillChannel switch only needs to be run on a single server to close the channel on all servers on the network.
ChannelName   Channel to be closed.
Reason The reason message can be up to 63 characters. Enclose the reason in quotation marks.

Examples

chatcmd myserv01 /killchannel:"local chat"
     Closes MICONLY channel, Local Chat. A MICONLY channel name can include a space. However, when using spaces, the channel name must be enclosed in quotation marks.
  
chatcmd myserv01  /killchannel:#worldchat,"Channel is going down for repairs."  
     Closes IRC channel, #Worldchat, and sends reason to all users. IRC channels have names beginning with the number sign (#). Names of IRC channels must must match IRC conventions.


© 1998 Microsoft Corporation. All rights reserved.