Skip to content

IRC

Program

  • Get help for any command:

      /help quit
  • Exit IRC program:

      /quit
  • Exit IRC program with a message:

      /quit Going to bed

Server

  • Connect to server:

      /connect irc.irssi.org
  • Connect to server on port 6667 with user’s credentials:

      /connect irc.irssi.org 6667 P4ssw0rd! billy
  • Disconnect from server:

      /disconnect
  • Disconnect from server with a message:

      /disconnect I'm off for today
  • Disconnect from all servers:

      /disconnect *
  • Change nickname:

      /nick newnick
  • List all channels:

      /list
  • List all channels that match a pattern:

      /list *ubuntu*
  • Return channels’ topics:

      /list #debian,#ubuntu
  • Return the Message of the Day:

      /motd
  • Display user stats:

      /lusers
  • Display the version and compatibility parameters:

      /version

Channel

  • Join new channel:

      /join #debian
  • Leave specific channel:

      /part #debian
  • Leave current channel:

      /part
  • Leave all channels:

      /partall
  • Show action message:

      /me had an awesome day
  • Display the topic of current channel:

      /topic
  • Display the topic of a channel:

      /topic #ubuntu

Channel modes

Mode
+n Disallow external messages
+t Only ops/hops can set topic
+p Sets channel as invisible in /list
+s Sets channel as invisible in /list and /whois
+i Sets channel as invite-only
+k <pass> Sets a password for the channel
+l <num> Sets a limit to the number of users
+m Prevents non ops/hops users from talking
+R Sets the channel so only registered nicks are allowed
+M Sets the channel so only registered nicks can talk
+S Strips formatting from messages (plaintext)
+c Block messages containing color codes
+N No nick changes permitted in the channel
  • Set mode ‘x’ on channel:

      /mode #channel +<x>
  • Remove mode ‘x’ from channel:

      /mode #channel -<x>

ChanServ

Command
/cs set #channel secureops on Keep everyone except aops/sops from becoming ops
/cs identify #channel <pass> Identify as channel’s founder and raise privileges
/cs set #channel mlock modes Locks the channel’s modes
/cs set #channel keeptopic on Maintain topic even if everyone leaves
/cs set #channel enforce on Restore op/halfop if a person gets de-opped/halfopped
/cs set #channel leaveops on Allow the first person who joins the channel to get ops
/cs register #channel <pass> <desc> Register the current channel to you and sets password and description
/cs drop #channel <code> Un-register the current channel to you
/cs set #channel founder <nick> Set the current channel’s founder
/cs set #channel password <pass> Change the current channel’s password
/cs set #channel desc <desc> Change the current channel’s description
/cs set #channel url <url> Associate an URL with the channel
/cs set #channel <email> Associate an email address with the channel

People

  • Display the users in the channel:

      /names
  • Display the channel operators in the channel:

      /names -ops
  • Count the users in the channel:

      /names -count
  • Display the users in a specific channel:

      /names #debian
  • Display information about users in the channel:

      /who
  • Display information about users in a specific channel:

      /who #debian
  • Display historical user information:

      /whowas eve
  • Send a message to a channel:

      /msg #debian I'm awesone
  • Send a private message to another user:

      /msg mike Hey, how are you?

    or:

      /query mike Hey, how are you?
  • Send a notice to another user:

      /notice mike Bye!
  • Ignore an user:

      /ignore bob
  • Ignore certain messages:

      /ignore *away* NICKS
  • Set away message for private messages:

      /away I'm busy!
  • Remove away message:

      /away
  • Invite user to current channel:

      /invite mike
  • Invite user to specific channel:

      /invite mike #debian
  • Remove user from channel:

      /kick #channel eve

User modes

Mode
+q User is owner of the current channel
+a User is admin (SOP) on the current channel
+o User is operator (AOP) on the current channel
+h User is half-op on the current channel
+v User has voice on the current channel
  • Add mode ‘x’ to user in current channel:

      /mode alice +<x>
  • Remove mode ‘x’ from user in current channel:

      /mode bob -<x>

Banning

  • Ban list of users:

      /mode *channel +b hosts
  • Hosts file format:

      joe!*@*                        # Ban anyone with nick 'joe'
      myg0t*!*                       # Ban anyone whose nick contains 'myg0t'
      mark!*elc@*                    # Ban anyone with nick 'mark' and userid 'elc'
      *!*@c-123-24-76-213.ga.isp.net # Ban anyone with host 'c-123-24-76-213.ga.isp.net'
      *!*@*                          # Ban everyone

Access lists

Level
100+ Make the person a SOP
50 Make the person an AOP
40 Automatic half-opping
30 Automatic voicing
0 No special privileges
-1 May not be opped
-100 May not join the channel
  • Add nickname to the channel’s access list with specific level:

      /cs access #channel add <nick> <level>
  • Remove nickname from the channel’s access list:

      /cs access #channel del <nick>
  • Display the channel’s access list:

      /cs access #channel list
  • Count entries in the channel’s access list:

      /cs access #channel count

Privileges

  • Adding nickname to AOP/SOP list:

      /cs <aop|sop> #channel add <nick>
  • Removing nickname from AOP/SOP list:

      /cs <aop|sop> #channel del <nick>
  • Viewing AOP/SOP lists:

      /cs <aop|sop> #channel list=
  • Clearing AOP/SOP list:

      /cs <aop|sop> #channel clear <list>

Information

  • Get information about current server:

      /info
  • Get information about a server:

      /info irc.irssi.org
  • Find out latency of a channel:

      /ping #debian
  • Find out latency of an user:

      /ping mike
  • See information about an user:

      /whois bob
  • See IP address of an user:

      /dns alice
  • Display the user@host for an user:

      /userhost bob
  • See information about current server’s admins:

      /admin
  • Display the ports the server is listening on:

      /stats P
  • Display the IRC operators and their idle time:

      /stats p
  • Display the uptime of the server:

      /stats u
  • Display the local time of the server:

      /time

Color codes

Code Name
00 white
01 black
02 blue (navy)
03 green
04 red
05 brown (maroon)
06 purple
07 orange (olive)
08 yellow
09 light green (lime)
10 teal (a green/blue cyan)
11 light cyan (cyan / aqua)
12 light blue (royal)
13 pink (light purple / fuchsia)
14 grey
15 light grey (silver)
  • Make text red: Ctrl+c then 4

  • Make text black on blue background: Ctrl+c then 1,2