diff --git a/IRC-spec.txt b/IRC-spec.txt new file mode 100644 index 0000000..0b0e8c3 --- /dev/null +++ b/IRC-spec.txt @@ -0,0 +1,35 @@ +# On-connect +: CAP * LS : +: 001 :Welcome to the python-talk Network, +: 002 :Your host is , running version 0.1 +: 003 :This server was created 0 +: 004 python-talk 0.1 r t +: 005 AWAYLEN=200,CASEMAPPING=ascii,CHANTYPES=#,ELIST=U,HOSTLEN=16 :are supported by this server +: 005 CHANLIMIT=#:1,CHANMODES=b,k,l,t,CHANNELLEN=4,KICKLEN=1,MAXLIST=b:1 :are supported by this server +: 005 MODES=4,NETWORK=talknet,NICKLEN=20,TOPICLEN=30,USERLEN=1 :are supported by this server +: 251 :There are users and 0 invisible on servers +: 252 0 :operator(s) online +: 253 0 :unknown connection(s) +: 254 1 :channel formed +: 255 :I have clients and servers +: 265 [ ] :Current local users , max +: 266 [ ] :Current global users , max +: 422 :This server does not support MOTDs +: JOIN #main +: 324 #main t +: 332 #main :Welcome to the main channel! +: 353 = #main :, ...other clients here... +: 366 #main :End of /NAMES list +# On Attempting to join/part a channel, or anything else I don't want to deal with +: 421 :Unknown command +# I should probably return the "NOSUCHCHANNEL" thing for joins + +#PING PONG +: PONG : + +# If the user tries to kill us or another server, respond with an easter egg +: 483 :You can't kill me, I'm Skynet! +# Otherwise, if the user exists: +: 481 :Permission Denied- There are no IRC operators here. +# Otherwise: +: 401 :No such nick/channel