internal/mrc joins the BBS to MRC as its own connector: one connection to the MRC server ([mrc]: address, TLS) carries all its users. The chat rooms beginning mrc- are MRC's (mrc-lobby is its lobby), so callers on terminals, 3270s, the web and IRC (#mrc-lobby) chat with other BBSes there under their names. The protocol is as Synchronet's mrc-connector.js and mrc-session.js speak it: the SYSTEM~PLATFORM handshake, INFO, IMALIVE and CAPABILITIES; IMALIVE to the server's PING; each user's IAMHERE every minute, NEWROOM:old:new, arrival and leaving notices, LOGOFF; lines as <name> text and actions; Mystic's pipe colors taken out of what comes. !COMMAND in a room goes to the MRC server, its answer to the asker alone; private messages likewise. A dropped line is retried, those here put back. [mrc] require limits who may go in. The chat hub gains a Relay: told of joins, leaves and lines in the rooms it carries, giving them what comes (RelayEvent, RelayTo). On IRC, MRC's users show as nick_Site!mrc@site, and room notices go to the channel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2.7 KiB
MRC (Multi Relay Chat)
Multi Relay Chat is a chat network of BBSes: Mystic, Synchronet, ENiGMA½ and others share its rooms. The BBS joins it as its own MRC connector, with one connection to the MRC server carrying all its users. No connector program is needed.
MRC's rooms are the BBS's chat rooms that begin with the prefix (mrc-):
mrc-lobby is MRC's lobby. Whoever is in that room on the BBS, from a
terminal, a 3270, the web or IRC (#mrc-lobby), is in MRC's lobby, under
their name.
[mrc]
address = mrc.bottomlessabyss.net:5001
tls = yes
web = https://bbs.example.org/
telnet = bbs.example.org:23
| setting | default | |
|---|---|---|
address |
mrc.bottomlessabyss.net:5000 |
the MRC server (5001 with TLS) |
tls |
no |
TLS to it |
prefix |
mrc- |
what begins MRC's rooms here |
system_name |
the BBS's name | the BBS as MRC shows it (Mystic's |NN colors allowed) |
web, telnet, ssh, sysop, description |
(the sysop's name, the BBS's) | what MRC's INFO tells of the BBS |
require |
(anyone who may chat) | who may go into MRC's rooms (access levels) |
Chatting
/join mrc-lobbyin the BBS's chat (JOIN #mrc-lobbyon IRC) goes into MRC's lobby. Others on the network see the user arrive, and see them leave when they go.- Lines said there go to MRC as
<name> text, and/meas an action. Lines from other systems show ascarol@Far_BBS: text(on IRC, fromcarol_Far_BBS!mrc@far_bbs). MRC's colors are taken out. !COMMANDis a command for the MRC server, not a line for the room:!motd,!list(its rooms),!chatters,!bbses,!info Nand the rest (the server says which it does not know). Its answers come to whoever asked.!!textsays a line that begins with!.- Private messages to a user here come to them alone.
A user in two of MRC's rooms here (an IRC client in two channels) is in one on MRC, the last they spoke in. MRC has a user in one room at a time.
Each user is kept present (IAMHERE) every minute. If the connection
drops, the BBS connects again after 30 seconds and puts back everyone
who was there.
A sysop can make mrc-lobby a permanent room, so
that it is listed even when no one here is in it.
The protocol
As Synchronet's mrc-connector.js and mrc-session.js speak it:
- the handshake
SYSTEM~BBSSEC/os_arch/1.3.5, then the server's hello; - lines of
FromUser~FromSite~FromRoom~ToUser~MsgExt~ToRoom~Body~; INFO*,IMALIVEandCAPABILITIESfor the BBS;IMALIVEin answer to the server'sPING;IAMHEREfor each user,NEWROOM:old:newto move,LOGOFFto go;- names without spaces (underscores), at most 30 characters.