Channel Operator Cheat Sheet

Once you are a channel operator (+o), what commands might you need?

Conventions

Commands in IRC begin with a slash / as the first character on a line, we will be representing these in fixed width, such as:

/command

Where something is in angle brackets, it signifies a parameter that a command takes, such as:

/command <parameter>

Where something is in square brackets, it signifies that whatever is between them is optional, such as:

/command <parameter1> [<parameter2>]

Further to this, several options which are mutually exclusive will be separated by a pipe symbol, such as:

/command <this>|<or this>



All ops need to /msg nickserv identify <password> at least once per month to maintain your nick registration. You can set up your client to do this automatically upon joining the server.

Chanserv commands on Linuxchix channels

To op yourself:
/msg chanserv op <#channel> [<nick>]

When leaving or idling:
/deop [<nick>]

If /deop doesn't work:
/mode <#channel> -o <nick>

List of ops in a channel:
/msg chanserv access <#channel> list

Complete list of Chanserv commands:
/msg chanserv help

Note: You will not need to op yourself in the main channel unless you have auto-op turned off, or unless you deopped yourself. Ask another op to change your settings if you want auto-op turned off.

IRC commands:

set topic

/topic <#channel> [<Topic>]

Set mode

#channel is optional IN the channel:
/mode +s - secret

/mode +p - private

/mode +t - topic control (ops only),

/mode +n - no outside messages

/mode +l <20> - limited to 20, for example

/mode +m - moderated; only ops and voiced can speak

/mode +v <nick> - voice - allow to speak in moderated channel

/mode -v <nick> - unvoice

/mode #channel +o <nick> - channel ops

/mode +i - invite-only; to invite: /invite <nick> <#channel>

/mode <#channel> +k <passwordkey> - passworded

/mode <#channel> +b - checks who is banned

/mode <#channel +b *!*abcd@dialup*.provider.com - [nick!user@host]

From /whois <nick> - do ban first, THEN kick

/kick <nick> [reason]

To kickban and kline an a$$hole from the channel and the server:

Note: this requires /oper permissions, and a password. If you think you should have /oper but you don't know your password, use mkpasswd -H md5 to generate one then send it to the IRC server administrator.

1. /mode #channelname +m +i (sets it moderated, invite-only)
2. /whois asshole-nick (scroll up in buffer to see who did what)
3. /mode #channelname +b *!*nick@*.provider.com (ban asshole)
4. /kick asshole-nick
5. /oper yournick password (become server op)
6. /kline 100000 *!*@1.2.3.4 :Reason (server ban for 100000 minutes)

Channel security: http://www.irchelp.org/irchelp/changuide.html#security

Create a new Linuxchix channel:

1. Identify to NickServ
2. /msg chanserv REGISTER #channelname
3. /msg chanserv SET #channelname founder linuxchix
4. /msg chanserv MLOCK - in the channel to set the proper modes (private, secret, invite-only, etc.)

Create a new invite-only channel:

1. Identify to NickServ
2. /msg chanserv REGISTER #channelname
3. /msg chanserv SET #channelname MLOCK +i
4. (optional, if you want the channel to be hidden) /msg chanserv set #channelname mlock +s
5.1 Make Nickname an op: /msg chanserv ACCESS #channelname ADD nickname 30
5.2 Allow Nickname to invite themselves: /msg chanserv access #channelname add nickname 5
* In either case, people can then join the channel by doing "/msg chanserv invite #channelname"