Connect to ircserv
nc -vC <ip> <port>
irssi -c <server> -p <port> -w <pwd> -n <name>
# Default
nc -vC 127.0.0.1 8080
irssi -c 127.0.0.1 -p 8080 -w LLD -n sou /dcc send <nick> <path from home>
/dcc get <nick>
Sockets The Bible Workflow Exemple RPL ERR list
- args parser Sou
- port
- is the arg only digit?
- password
- I think there is restrictions?
- port
Must finish MODE and check JOIN implement with MODE
- PASS
- NICK
- USER
- PING
- PRIVMSG
- JOIN
- create only one chan without any pwd
- check if you're invited before letting u join the chan Channel
- KICK
- INVITE
- NAMES
- TOPIC
- MODE (channel only)
- i: Set/remove Invite-only channel
- t: Set/remove the restrictions of the TOPIC command to channel operators
- k: Set/remove the channel key (password)
- o: Give/take channel operator privilege
- l: Set/remove the user limit to channel
- handle if only target is sent in the params
./bot <host> <port> <psw>- Register to server
- Respond pong on PRIVMSG
BUGS:
- better compare clients
- /mode +o nickThatDoesntExist => crash
Seems good