All pastes #640235 Raw Edit

Stuff

public text v1 · immutable
#640235 ·published 2007-07-31 07:16 UTC
rendered paste body
SERVER = S, CLIENT = C
upon connect:
C->S: "NICK user password"

Message the server might send you:
"CON [user] (ip)"                          connecting user/ip
"DIE [user] (ip) has left Miasma(reason)"  someone left, their user/ip, the reason why
"MSG message"                              public message "message"
"PRIVMSG [user] message"                   private message from user
"ERROR error message"                      error with error message
"BAN [user] (ip) has been BANNED(reason)"  banned user/ip reason
"NICK [old] (new)"                         user old has changed to user new

Message you might send the server:
"MSG message"            public message
"PRIVMSG [user] message" send a private message to user
"QUIT reason"            disconnect for reason
"BAN user reason"        ban user for reason
"NICK newnick"           change your nick