RAW Events Reference
Raw Numerics collected by pai
Expanded & rewritten by Merlin

RAW Index by Number

RAW 001-010:
001 002 003 004 005 006 007 008 010

Goto RAW Events 211-298

Goto RAW Events 301-391

Goto RAW Events 401-491

Goto RAW Events 501-513

Goto RAW Events 601-607

Goto RAW Index by Name


RAW 001 (RPL_WELCOME)  Back to Top

Format: 001 :Welcome to the Internet Relay Network <nickname>
Example: 001 :Welcome to the Internet Relay Network Gemini
Network: All

Parameters:
<nickname> Your actual nickname.

Info:
Sent to all clients once a connection has been established and the user has successfully registered.

Notes:
This is the first point where a script or client can be sure that the user's connection has been accepted without errors or problems.
This reply is sent once upon connection automatically, and never again during an IRC session.

Variations:
On many networks (such as Dalnet) the user's full address will be given instead of just a nickname, for example:
001 :Welcome to the Internet Relay Network Gemini!zodiac@port123.stupid.com

Also, many networks change the message itself to include the network's name in the message, for example:
001 :Welcome to the DALnet IRC Network pai!goddess@21.9.234.32

You cannot be guaranteed that the network name or user's nickname will always be in the same position.

See Also:
The following are sent in sequence on connection:
001, 002, 003, 004


RAW 002 (RPL_YOURHOST)  Back to Top

Format: 002 :Your host is <server>, running version <ver>
Example: 002 :Your host is StLouis.MO.US.UnderNet.org, running version u2.10.04
Network: All

Parameters:
<server> The name of the server you have connected to. <ver> The version of IRCd the server is running.

Info:
Sent to all clients once a connection has been established and the user has successfully registered.

Notes:
The version code is probably the single best way to determine what special 'features' a server supports.
Some common version codes- (* may be anything)

* u2.10.* - Undernet
* dal4.* - Dalnet
* 2.8* - Efnet * 2.9.* - Ircnet

If you want to get the server version while you are connected, you can use VERSION.

This reply is sent once upon connection automatically, and never again during an IRC session.

See Also:
The following are sent in sequence on connection:

001, 002, 003, 004


RAW 003 (RPL_CREATED)  Back to Top

Format: 003 :This server was created <datetime> Example: 003 :This server was created Thu May 21 1998 at 18:27:08 CDT
Network: All

Parameters:
<datetime> The date and time the server was created or last restarted.

Info:
Sent to all clients once a connection has been established and the user has successfully registered.

Notes:
You should not rely on these dates and times being in any specific format.

This reply is sent once upon connection automatically, and never again during an IRC session.

See Also:
The following are sent in sequence on connection:

001, 002, 003, 004


RAW 004 (RPL_MYINFO)  Back to Top

Format: 004 <server> <ver> <usermode> <chanmode>
Example: 004 StLouis.MO.US.UnderNet.org u2.10.04 dioswkg biklmnopstv
Network: All

Parameters:
<server> The name of the server you have connected to.
<ver> The version of IRCd the server is running.
<usermode> The various user modes the server supports
<chanmode> The various channel modes the server supports

Info:
Sent to all clients once a connection has been established and the user has successfully registered.

Notes:
All user modes and channel modes (including o for IRC operator, etc.) are listed, however not all may be accessable to a given user.

This reply is sent once upon connection automatically, and never again during an IRC session.

See Also:
The following are sent in sequence on connection:
001, 002, 003, 004


RAW 005 (RPL_MAP or RPL_PROTOCTL or RPL_BOUNCE)  Back to Top


Raw 005 - Undernet MAP
Format: 005 :<map>
Example: 005 : | `-Baltimore.MD.US.Undernet.Org
Network: Undernet

Parameters:
<map> A string showing the relative position of one server

Info:
Sent to a user in reply to a MAP command. When a user requests a MAP, one line is sent for each server, and displaying all of the lines in a fixed width font will show a 'map' of how the servers are connected. Notes:
The string is intended for user viewing- Although the format is consistent, you should probably not rely on it being in any given format.

See Also:
The following are sent in reply to a MAP:

005 (one or more), 007

Returned From:
MAP


Raw 005 - DALnet protocol
Format: 005 <protocols> :are available on this server
Example: 005 NOQUIT TOKEN WATCH=128 SAFELIST :are available on this server
Network: DALnet

Parameters:
<protocols> A list of special features ("protocols") that the server supports.

Info:
This is sent when you connect to a DALnet server, after the 004 reply.

Notes:
Some "protocols" that may appear here:

* NOQUIT: Reduces server-to-server bandwidth during splits. (no effect on users)
* TOKEN: Uses tokens to reduce server-to-server bandwidth. (no effect on users?)
* WATCH=128: Supports the WATCH command, with a 128 user limit.
* SAFELIST: Channel LISTs will be sent in chunks to reduce the chance of being disconnected.

The numeric for this may change in the future, as well as the possible features.

See Also:
The following are sent in sequence on connection to DALnet:

001, 002, 003, 004, 005


Raw 005 - Bounce
Format: 005 Try server <server_name>, port <port_number>
Example: Try server hotspeed.sg.as.dal.net, port 6665
Network: ??

Parameters:
<server_name>
<port_number>

Info:
Sent by the server to a user to suggest an alternative server. This is often used when the connection is refused because the server is already full.

Notes:

See Also:


RAW 006 (RPL_MAPMORE)  Back to Top

Format: Undocumented
Example:
Network:

Info:

See Also:
The following are sent in reply to a MAP:

005 (one or more), 007

Returned From:
MAP


RAW 007 (RPL_MAPEND)  Back to Top

Format: 007 :End of /MAP
Example: 007 :End of /MAP
Network: Undernet

Info:
Sent to a user in reply to a MAP command. This marks the end of the reply.

See Also:
The following are sent in reply to a MAP:

005 (one or more), 007

Returned From:
MAP


RAW 008 (RPL_SNOMASK)  Back to Top

Format: 008 <num> :: Server notice mask (<hex>)
Example: 008 1234 :: Server notice mask (0x4d2)
Network: Undernet

Parameters:
<num> The decimal value of the server notice mask. (from 1 to 8191)
<hex> The hexadecimal value of the server notice mask. (from 0x1 to 0x1fff)

Info:
Sent to a user when they set or view their server notice mask.

Notes:
A server notice mask is a special extension of the +s user MODE on Undernet. It is viewed like any other user MODE, using the MODE command. To set it, you would type something such as:

MODE mynick +s 1234

The mask is 13 bits wide and determines which categories of server notices are sent to you.

See Also:
Viewing your user mode using MODE will return:

221, 008 (on Undernet)

Returned From:
MODE


RAW 010 (RPL_STATMEM)  Back to Top

Format: Undocumented
Example:
Network:

Parameters:

Info:

Notes:

See Also:

Returned From: