Client -> ServerClient to Server communication is simple. Only thing you need to do is send (upper-case) command followed by its' arguments. I will be using following format:
<arg> = required argument [arg] = optional argument <arg... = required text argument [arg... = optional text argumentText arguments starts with
:and can contain spaces.
- Server Queries
- User Queries
Sent as first command to define access to the server. Multiple may be sent but only last should be considered. Errors:
Used to change (or set first) nickname. Errors:
USER <username> <hostname> <servername> <realname...
Used at beginning of connection to specify username, hostname, servername and realname.
<servername>are ignored (used only for Server -> Server communication). It is recommended to use
Identity Server(user password server) because there is no prove for username validity. Errors:
USER guest tolmoon tolsun :Ronnie Reagan
USER foobar - - :Foo Bar
SERVERUsed only for Server -> Server communication.
OPER <user> <password>
Used to gain (server) operator privileges. Errors:
OPER foo bar
Client should send this before leaving. Examples: