commands & modes

Type /HELP for a summary and /HELP <command> for syntax on any command below.

user commands

CommandPurpose
NICK USER PASS CAP QUITRegistration and disconnect. CAP negotiates IRCv3 features. PASS account:password logs in for clients without SASL.
JOIN PART NAMES TOPIC LISTChannels. LIST supports ELIST conditions (>n, <n, glob).
KICK INVITE KNOCKModeration and access. KNOCK asks ops for an invite to a +i/+k channel.
PRIVMSG NOTICEMessages, to up to 4 targets at once (PRIVMSG alice,#chan :hi). Prefix a channel with ~, &, @, % or + (STATUSMSG) to reach only that rank or higher.
REDACT <target> <msgid> [:reason]Take back a message (draft/message-redaction). See history.
WHO WHOIS WHOWAS USERHOST ISONLookups. WHO <mask> [o] globs nick, user, host, server and realname; WHOX: WHO <mask> %fields,token. WHOIS <nick> <nick> asks the user's own server, which adds idle time for users on other servers. A user with a TLS client certificate shows 276: "is using a TLS client certificate" to everyone, the fingerprint itself only to that user and to opers with auspex.
MONITOR WATCHOnline/offline watch lists. Prefer MONITOR (up to 100 entries).
AWAY SETNAME SILENCEAway status, change realname live, per-client private-message ignore masks.
ACCEPT [nick[,-nick,...]]Caller-ID list for +g: add nicks that may message you, -nick removes one, no argument lists them.
MODEQuery or change channel and user modes.
VHOSTVHOST lists the virtual hosts you may use; VHOST <host> [<password>] wears one, VHOST off takes it off. They come from the server's [[vhosts]] (by host mask, account or password) and from the ones your account was given, which you choose among (/msg NickServ VHOST, kept for every login, on every server). Opers with the host privilege: VHOST ADD|DEL <account> <host> and VHOST LIST <account>, from any server.
REGISTER VERIFY AUTHENTICATE CERTAccounts: create an account (REGISTER <account> <password> or the IRCv3 REGISTER <account|*> <email|*> <password>; on a network with [nickserv] require_email the answer is REGISTER VERIFICATION_REQUIRED and VERIFY <account> <code>, with the mailed code, activates the account and logs you in), SASL login, bind a TLS client certificate. /msg NickServ REGISTER and IDENTIFY also work. Answered by NickServ in the services daemon; CERT is a shorthand for /msg NickServ CERT.
NS CSShorthand for /msg NickServ and /msg ChanServ (also NICKSERV, CHANSERV). NickServ commands: REGISTER, IDENTIFY, LOGOUT, INFO, GHOST, REGAIN <nick> (rename whoever holds your nick and take it), RESETPASS <account> then RESETPASS <account> <code> <new password> (emailed code), SET PASSWORD, SET EMAIL, SET AJOIN <#chan,...>|OFF (channels joined at every login), SET ALWAYS-ON ON|OFF (keep your nick online while disconnected; reconnect with SASL, to any server, to resume it), VERIFY [account] <code> (confirms your email; with require_email, activates a new account), GROUP, UNGROUP, CERT ADD|DEL|INFO, DROP, LISTLOGINS, LISTCHANS, STATUS|ACC [nick]. Services admins ([nickserv] admins): SUSPEND <account> [reason], UNSUSPEND, NOEXPIRE <account> ON|OFF (never expire it), ACTIVATE <account> (a registration whose email never arrived, with require_email), FDROP, SASET PASSWORD <account> <new>.
RULESShow the network rules from ircd.rules (plain text, lines under 78 characters).
MOTD ADMIN INFO VERSION TIME UPTIME LUSERS LINKS MAP STATS HELPServer information. STATS m, u, p (opers online), v (servers) and l <your nick> are open to everyone; STATS alone lists the letters you may use, and STATS <letter> <server> asks another server. MOTD, ADMIN, INFO, VERSION and TIME take an optional linked server name to ask that server.
SERVLIST SQUERYList and message services pseudo-users such as ChanServ.
GLOBNon-standard: glob-match nicknames server-wide (invisible users hidden unless you share a channel or you are an oper).
PING PONGKeepalive.

operator commands

All require /OPER with a configured [[operators]] login.

CommandPurpose
OPEROPER <name> <password>. Grants [security] oper_modes (default +osw), or the login's own modes. See operators.
KILLDisconnect a user from the network.
KLINE GLINE ZLINE<mask> [duration] [:reason]. With no arguments, list active lines. K and Z-lines apply to this server only; G-lines (and SHUN) reach every linked server.
UNKLINE UNGLINE UNZLINERemove a line.
SHUN UNSHUN[<mask> [duration] [reason]]. Silently drop a connected user's messages without disconnecting them, on every linked server. With no arguments, list active SHUNs.
ELINE UNELINE[<mask> [duration] [reason]]. Exempt a mask from K/G-lines. On a whole address (an IP, glob or CIDR such as 2001:db8::/64, written bare or as *@<address>) it also exempts that address from Z-lines, the connect-flood throttle, the per-IP connection cap, the DNSBL and the proxy scanner, at once, without a rehash. A user@host ELINE still covers only that user against K/G-lines. Per server, like the other local lines.
QLINE UNQLINE[<nickmask> [duration] [reason]]. Refuse nicknames matching a glob (evil*) on every linked server; no argument lists them. Users already on keep their nick, and a registered oper is exempt. Kept in xlines.json.
RESV UNRESV[<#channelmask> [duration] [reason]]. Refuse JOIN to channel names matching a glob (#warez*) on every linked server. Those already in stay; opers with the override privilege may join.
XLINE UNXLINE[<realnamemask> [duration] [reason]]. Refuse connections whose realname matches a glob; an underscore in the mask stands for a space (buy_cheap_*). On every linked server.
DEFCON[<5|4|3|2|1> [duration]]. Tighten this server against an attack, and lift it again: 4 halves the connect rate and allows two connections per address; 3 also needs a login (SASL) to connect; 2 also needs TLS; 1 takes no new connections. An ELINE'd address is never held to it. A duration (30m) puts it back by itself; no argument shows the level. Local to the server, gone at a restart.
CLASS[LIST] | ADD [GLOBAL] <name> <host,host,...> [max_clients=N] [max_per_ip=N] [sendq_max=N] [flood_max_msgs=N] [flood_window=S] | DEL <name>. Connection classes without a rehash, kept in classes.json. GLOBAL publishes the class to every linked server, each applying it to its own connections (limits count per server). A class from the config file is changed there; another server's global class can be removed here, which asks its owner to drop it.
TESTLINE<nick|user@host|ip>. Show which K/G/Z-lines, SHUNs and ELINEs match that address.
SPAMFILTER[LIST] | ADD [GLOBAL] <targets> <action> <duration|-> <reason> <regex> | DEL <n>. Manage the [spam] content filters. GLOBAL sends the rule to every linked server. See the protection bundle page.
PROTECT[SCAN <ipv4>]. Server opers: show the Protection bundle status (blacklists, proxy scanner, limits), or scan an address now. See the protection bundle page.
WALLOPSMessage every user with +w.
GLOBOPS OPERWALL LOCOPSMessage every online operator on the network (GLOBOPS, OPERWALL), or only the operators on this server (LOCOPS).
REHASH [<server>|*]Reload the config, Protection bundle, MOTD, oper MOTD, rules and spam filters live, then list what was re-read and which config sections changed. With a server name that server rehashes and answers over the link; * rehashes every server. Every rehash (also a SIGHUP, e.g. after a certificate renewal) is announced to opers on all servers in two lines: who, then what changed or why it failed.
OPERMOTDShow oper.motd. It is also sent automatically when you /OPER up.
DIE RESTARTShut down, or re-exec in place. Can require an extra password.
CHGHOST SETHOSTForce-set another local user's displayed host, or your own (SETHOST off clears it).
SAJOIN SAPART SAMODEForce a user into or out of channels, or change channel modes, bypassing +i +k +l +b +z and op requirements. +r stays services-only.
CONNECT SQUITBring up or drop a configured server link.
TRACE STATSConnected clients and linked servers; STATS for opers: k g z s e (K/G/Z-lines, SHUNs, ELINEs; d = z), l/L links or one client with byte and message counts (L hides IPs), ? per-link traffic, t totals, c connect blocks, h hub/leaf, i auth blocks, y classes, o oper blocks, P ports, q reserved nicks, b DNSBL/scanner, f spam filters, Z memory. Each request is shown to that server's opers.

channel modes

ModeMeaning
+n +tNo outside messages; only ops set the topic. Default for new channels (default_modes = "nt").
+iInvite only.
+mModerated.
+p +sPrivate / secret. Hides name, topic and membership from non-members.
+k +lKey, and user limit.
+f <lines>:<seconds>Flood protection: kicks anyone who sends more than that many lines in that time. Ops, halfops, voiced users and IRC operators are exempt. Tag-only messages (TAGMSG, such as typing indicators) are not counted.
+f [<n><type>[#<action>[<mins>]],...]:<seconds>UnrealIRCd's form, e.g. [10j#R5,30m,4n,7t#b]:15. Types: c CTCPs (sets +C, or #m/#M), j joins (+i, or #R), k knocks (+K), m messages (+m, or #M), n nick changes (+N), all channel-wide; t lines per user (kick, or #b kick-ban), r the same line repeated per user (kick, #b kick-ban or #d drop). A number after the action removes that mode again after that many minutes. Counts are per server.
+j <joins>:<seconds>Join throttle: once that many joins (attempts included) land in that time, further joins are refused until the window ends.
+L <#chan>Redirect: a join refused because of +l (full) or +i goes to #chan instead. One hop only.
+zOnly clients connected over TLS may join.
+R +OOnly users with an account may join; only IRC operators may join.
+MOnly users with an account, voice and up, or IRC operators may speak.
+rRegistered with services. Set and cleared only by ChanServ.
+PPermanent: the channel survives going empty.
+C +TBlock CTCP, block channel NOTICE.
+SStrip color and formatting codes: the message goes through as plain text.
+cNo colors: a message with color or formatting codes is refused (404). Voice and up and IRC operators are exempt.
+GCensor: words in [messages] censor_words are starred out.
+DDelayed join: a member without a rank stays invisible until they speak or get one. -D reveals everyone still hidden.
+uAuditorium: members without a rank are seen only by halfops and ops (and themselves).
+N +Q +V +KBlock nick changes, block kicks, block invites, block KNOCK.
+q +a +o +h +vPrefix modes: ~ owner, & admin, @ op, % halfop, + voice. Only an owner sets +q, an admin or owner +a; owner and admin count as op too.
+b +e +IBan, ban exception, invite exception. Up to 100 entries each. Extbans: ~a:<account>, ~m:<mask> (quiet), ~n:<mask> (no nick change, voice and up exempt), ~r:<realname>, ~j:#chan, ~z (TLS), ~S:<fingerprint> (TLS client certificate), ~t:<minutes>:<mask> (removed by the server after that time; wraps any other mask), ~f:#chan:<mask> (a matching user's JOIN is forwarded to #chan). UnrealIRCd names work too (~account:, ~quiet:, ~nickchange:, ~realname:, ~channel:, ~certfp:, ~time:, ~forward:). A bare host or user@host is stored as *!*@host / *!user@host.

user modes

ModeMeaning
+iInvisible. Hidden from GLOB unless you share a channel or the searcher is an oper.
+wReceive WALLOPS.
+dDeaf: channel messages are not delivered to you. Private messages still are.
+TDrop CTCP sent to you (was +d before 1.3.3).
+DNo private messages at all, except from IRC operators.
+RPrivate messages only from users with an account.
+gCaller-ID: private messages only from nicks on your ACCEPT list (and opers, services).
+p +IHide your channels / your idle time in WHOIS (opers still see them).
+BMark yourself as a bot. Shows 335 in WHOIS and B in WHO flags, and tags your messages with bot for clients with message-tags. Advertised as BOT=B.
+xCloaked host. On by default when host_masking is enabled; -x shows your real host, +x cloaks it again (396). Bans match the real host and IP either way.
+WOpers only: a notice whenever someone does a /WHOIS on you.
+HOpers only: hide your oper status from non-opers.
+qOpers only: no one but an IRC operator can kick you.
+sServer notices (opers): bans, connects and exits on this server, kills, failed OPER, links and netsplits.
+FOpers only: far connects. Client connecting at <server> / Client exiting at <server> for users on other servers (UnrealIRCd's +F snomask). Bursts and netsplits are not announced user by user.
+oOperator. Granted by /OPER.
+zConnected over TLS. Set by the server (was +Z before 1.3.3).
+ZPrivate messages only to and from TLS users (531 otherwise). IRC operators and services can still reach you.
+rIdentified to an account. Set by the server.

[security] default_user_modes (e.g. "iw") applies self-togglable modes automatically after registration. +o, +z and +r can never be granted this way.