User Tools

Site Tools


programming:irc

This is an old revision of the document!


IRC

IRC stands for Internet Relay Chat.

DevDungeon IRC Server

If you're looking for an existing server to join, connect to irc.devdungeon.com on port 6667.

irc.devdungeon.com

Clients

Recommended clients:

  • XChat (GUI) - For Windows, download and install from the website. For Debian, install with apt install xchat.
  • Pidgin (GUI) - For Windows, download and install from the website. For Debian, install with apt install pidgin.
  • irssi (Terminal) - For Windows, use Debian WSL. In Debian, install with apt install irssi. In Mac, brew install irssi. Use the normal IRC slash commands like /list and /join #general. Use alt keys plus window number to switch between chat windows. E.g. ALT-1 and ALT-2.

Basics

Commands start with a / and you can run some of the commands below to get started. They will allow you to find and join channels to chat.

* /list - List chat rooms and participant count * /who #general - See who is in the channel named #general * /join #general - Join channel named #general * /part #general - Leave channel named #general * /msg nanodano hey - Send private message to NanoDano * /quit - Disconnect from server

Tag someone by starting the message with their username and a colon. This will usually ping their client and is similar to tagging someone.

nanodano: hey!

Other commands

  • /away Be back in a few - Set an away message
  • /back - Turn off away status
  • /me is not surprised - Emote something; e.g. “NanoDano is not surprised”
  • /motd - See the server's message of the day

Inspircd

Inspircd is software for running your own IRC server.

Quick setup notes:

setup_inspircd.sh
# Get latest .deb from https://github.com/inspircd/inspircd/releases
cd ~
wget https://github.com/inspircd/inspircd/releases/download/v3.10.0/inspircd_3.10.0.deb10u1_amd64.deb
apt install ./inspircd_3.10.0.deb10u1_amd64.deb
cp /usr/share/doc/inspircd/inspircd.conf.example.gz ~
gunzip inspircd.conf.example.gz
mv inspircd.conf.example /etc/inspircd/inspircd.conf
echo "Welcome!" > /etc/inspircd/motd.txt
vim /etc/inspircd/inspircd.conf
  # Edit bind ip
  # Edit server name
  # Edit motd text file path to ''motd.txt''
systemctl start inspircd
# Then connect on port 6667

Anope is the partner service that should be installed for NickServ and ChanServ for people to register nicknames and channels.

programming/irc.1622613955.txt.gz · Last modified: 2021/06/02 06:05 by nanodano