<p><em>Disambiguation: This page is related to using IRC inside an Evennia game. To join the official
Evennia IRC chat, connect to irc.freenode.net and join #evennia. Alternatively, you can <aclass="reference external"href="https://discord.gg/NecFePw">join our
Discord</a>, which is mirrored to IRC.</em></p>
<p><aclass="reference external"href="http://en.wikipedia.org/wiki/Internet_Relay_Chat">IRC (Internet Relay Chat)</a> is a long standing
chat protocol used by many open-source projects for communicating in real time. By connecting one of
Evennia’s <aclass="reference internal"href="../Components/Communications.html"><spanclass="doc">Channels</span></a> to an IRC channel you can communicate also with people not on
<p>Next we will create a connection to an external IRC network and channel. There are many, many IRC
nets. <aclass="reference external"href="http://www.irchelp.org/irchelp/networks/popular.html">Here is a list</a> of some of the biggest
ones, the one you choose is not really very important unless you want to connect to a particular
channel (also make sure that the network allows for “bots” to connect).</p>
<p>For testing, we choose the <em>Freenode</em> network, <codeclass="docutils literal notranslate"><spanclass="pre">irc.freenode.net</span></code>. We will connect to a test
channel, let’s call it <em>#myevennia-test</em> (an IRC channel always begins with <codeclass="docutils literal notranslate"><spanclass="pre">#</span></code>). It’s best if you
pick an obscure channel name that didn’t exist previously - if it didn’t exist it will be created
<div><p><em>Don’t</em> connect to <codeclass="docutils literal notranslate"><spanclass="pre">#evennia</span></code> for testing and debugging, that is Evennia’s official chat channel!
You <em>are</em> welcome to connect your game to <codeclass="docutils literal notranslate"><spanclass="pre">#evennia</span></code> once you have everything working though - it
can be a good way to get help and ideas. But if you do, please do so with an in-game channel open
<p>The <em>port</em> needed depends on the network. For Freenode this is <codeclass="docutils literal notranslate"><spanclass="pre">6667</span></code>.</p>
<p>What will happen is that your Evennia server will connect to this IRC channel as a normal user. This
“user” (or “bot”) needs a name, which you must also supply. Let’s call it “mud-bot”.</p>
<p>To test that the bot connects correctly you also want to log onto this channel with a separate,
third-party IRC client. There are hundreds of such clients available. If you use Firefox, the
<em>Chatzilla</em> plugin is good and easy. Freenode also offers its own web-based chat page. Once you
have connected to a network, the command to join is usually <codeclass="docutils literal notranslate"><spanclass="pre">/join</span><spanclass="pre">#channelname</span></code> (don’t forget the
<p>Evennia will now create a new IRC bot <codeclass="docutils literal notranslate"><spanclass="pre">mud-bot</span></code> and connect it to the IRC network and the channel
#myevennia. If you are connected to the IRC channel you will soon see the user <em>mud-bot</em> connect.</p>
<p>Write <codeclass="docutils literal notranslate"><spanclass="pre">Hello!</span></code> in your IRC client window and it will appear in your normal channel, marked with the
name of the IRC channel you used (#evennia here).</p>