/DeleteChannel

Removes the channel definition from the server registry, but does not remove members from a channel.

When a channel is created using /AddChannel, a registry entry is created on the server. Such channels are called persistent, and they exist whether or not they are active, or have members currently logged on to them.

The /DeleteChannel switch deletes the channel definition; however, it does not affect the operation of the channel if the channel currently contains members. After the last member leaves the channel, the channel no longer exists.

Note  To remove members from a channel, use /KillChannel.

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

Syntax

Chatcmd ServerList /DeleteChannel:ChannelName

Parts

ServerList This switch supports multiple servers in its command line. Deleting a persistent channel on one server does not update the other servers on the network. Specify all servers on the network (in the form Server1,Server2,Server3¼) to synchronize information.
ChannelName   Channel to delete.

Examples

chatcmd myserv01 /deletechannel:#localchat  
     Deletes the #Localchat channel on Myserv01. IRC channels have names beginning with the number sign (#).
  
chatcmd myserv01 /deletechannel:"Big Chat"
     Deletes the MICONLY channel on Myserv01. A MICONLY channel name can include a space. However, when using spaces, the channel name must be enclosed in quotation marks.


© 1998 Microsoft Corporation. All rights reserved.