Skip to content

souhoc/irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utils

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>

Documentations

Sockets The Bible Workflow Exemple RPL ERR list

TODO

main

  • args parser Sou
    • port
      • is the arg only digit?
    • password
      • I think there is restrictions?

Must finish MODE and check JOIN implement with MODE

Cmds

  • 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

  ./bot <host> <port> <psw>
  • Register to server
  • Respond pong on PRIVMSG

Wed 17 Jan 24

BUGS:

  • better compare clients
  • /mode +o nickThatDoesntExist => crash

Mon 22 Jan 24

Seems good

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published