channel

Syntax

CHANNEL LIST
CHANNEL ADD|MODIFY [-auto | -noauto] [-bots <masks>] [-botcmd <command>] <channel> <network> [<password>]
CHANNEL REMOVE <channel> <network>

Parameters

LIST:

Displays the list of configured channels.

ADD:

Adds a channel to your configuration.

MODIFY:

Modifies a channel in your configuration.

REMOVE:

Removes a channel from your configuration.

-auto:

Automatically join the channel.

-noauto:

Don’t join the channel automatically.

-bots:

The list of hostnames send automated commands to.

-botcmd:

The automated commands to perform.

The channel and network to add to the configuration; you can optionally specify the password of a channel.

If no parameters are given, the list of channels you have joined will be displayed.

Description

Adds, removes or displays the configuration of channels; this method is used to automate and simplify your workflow.

You can use the ADDALLCHANS command, which is a default alias, to add all the channels you are present on into the configuration.

Examples

/CHANNEL
/CHANNEL LIST
/CHANNEL ADD -auto #irssi Freenode
/CHANNEL ADD -auto #basementcat Quakenet secret_lair
/CHANNEL ADD -auto -bots '*!@*.irssi.org *!bot@irssi.org' -botcmd 'msg $0 op WzerTrzq' #hideout Freenode
/CHANNEL ADD -auto -bots 'Q!TheQBot@CServe.quakenet.org' -botcmd '^MSG Q op #irssi' #irssi Quakenet
/CHANNEL MODIFY -noauto #irssi Freenode
/CHANNEL REMOVE #hideout Freenode

Special Example

/ADDALLCHANS

See also

JOIN, TS