Thanks to visit codestin.com
Credit goes to github.com

Skip to content

blumbear/42-IRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-IRC

How to use the program :

  • Use the command hostname -I | awk '{print $1}' to obtein the IP address of the server.
  • Next you can lunch the server with the command ./ircserv <port> <password>. The server is now running on this terminal.
  • Open an other terminal to connect a client to the server. (tips: you van use the command gnome-terminal to create a terminal from another.)
  • You have many way to connect a client, here we have two choice, nc and irrsi.

nc :

  • lunch the command nc <server's Ip address> <server's port> to connect the client to the server.
  • next use the command PASS <password>, NICK <nickname> and USER <username> <hostname> <servername> :<realname> to being identificate on this server. (help: the hostname is historicaly 0 and the server's name is * if you don't know it or don't use it.)

irssi :

  • lunch the command /connect localhost <port> <password>. IRSSI will automaticaly use the command PASS, USER and NICK.

command :

The list of command will follow the order nc's command | irssi's command.

  • PASS <password>
  • USER <username> <hostname> <servername> :<realname> |
  • NICK <nickname> | /nick <nickname> |
  • JOIN #<channel> | /join channel
  • PART #channel | /part (in a channel)
  • PRIVMSG #<channel> :<message> | <message> (in a channel)
  • PRIVMSG <target> :<message>
  • INVITE <target> #<channel> | /invite <target> (in a channel)
  • TOPIC #<channel> | /topic (in a channel)
  • TOPIC #<channel> :<new_topic> | /topic <new_topic> (in a channel)
  • MODE #<channel> +<flag> | /mode +<flag> (in a channel)
  • MODE #<channel> -<flag> | /mode -<flag> (in a channel)
  • KICK #<channel> <target> :<kick_message> | /kick <user> (in a channel)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors