<title>Node to Node Messaging | ENiGMA½ BBS Software</title>
<metaname="generator"content="Jekyll v4.2.1"/>
<metaproperty="og:title"content="Node to Node Messaging"/>
<metaproperty="og:locale"content="en_US"/>
<metaname="description"content="The Node to Node Messaging Module The node to node messaging (node_msg) module allows users to send messages to one or more users on different nodes. Messages delivered to nodes follow standard User Interruption rules."/>
<metaproperty="og:description"content="The Node to Node Messaging Module The node to node messaging (node_msg) module allows users to send messages to one or more users on different nodes. Messages delivered to nodes follow standard User Interruption rules."/>
{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/enigma-bbs/assets/images/enigma-logo.png"}},"description":"The Node to Node Messaging Module The node to node messaging (node_msg) module allows users to send messages to one or more users on different nodes. Messages delivered to nodes follow standard User Interruption rules.","url":"/enigma-bbs/modding/node-msg.html","@type":"BlogPosting","headline":"Node to Node Messaging","dateModified":"2022-04-08T23:19:12+00:00","datePublished":"2022-04-08T23:19:12+00:00","mainEntityOfPage":{"@type":"WebPage","@id":"/enigma-bbs/modding/node-msg.html"},"@context":"https://schema.org"}</script>
<h2id="the-node-to-node-messaging-module">The Node to Node Messaging Module</h2>
<p>The node to node messaging (<codeclass="language-plaintext highlighter-rouge">node_msg</code>) module allows users to send messages to one or more users on different nodes. Messages delivered to nodes follow standard <ahref="/enigma-bbs/misc/user-interrupt.html">User Interruption</a> rules.</p>
<li><codeclass="language-plaintext highlighter-rouge">dateTimeFormat</code>: <ahref="https://momentjs.com">moment.js</a> style format. Defaults to current theme → system <codeclass="language-plaintext highlighter-rouge">short</code> format.</li>
<li><codeclass="language-plaintext highlighter-rouge">messageFormat</code>: Format string for sent messages. Defaults to <codeclass="language-plaintext highlighter-rouge">Message from {fromUserName} on node {fromNodeId}:\r\n{message}</code>. The following format object members are available:
<ul>
<li><codeclass="language-plaintext highlighter-rouge">fromUserName</code>: Username who sent the message.</li>
<li><codeclass="language-plaintext highlighter-rouge">fromRealName</code>: Real name of user who sent the message.</li>
<li><codeclass="language-plaintext highlighter-rouge">fromNodeId</code>: Node ID where the message was sent from.</li>
<li><codeclass="language-plaintext highlighter-rouge">message</code>: User entered message. May contain pipe color codes.</li>
<li><codeclass="language-plaintext highlighter-rouge">timestamp</code>: A timestamp formatted using <codeclass="language-plaintext highlighter-rouge">dateTimeFormat</code> above.</li>
<li><codeclass="language-plaintext highlighter-rouge">header</code>: Art spec for header to display with message.</li>
<li><codeclass="language-plaintext highlighter-rouge">footer</code>: Art spec for footer to display with message.</li>
</ul>
</li>
</ul>
<h2id="theming">Theming</h2>
<h3id="mci-codes">MCI Codes</h3>
<ol>
<li>Node selection. Must be a View that allows lists such as <codeclass="language-plaintext highlighter-rouge">SpinnerMenuView</code> (<codeclass="language-plaintext highlighter-rouge">%SM1</code>), <codeclass="language-plaintext highlighter-rouge">HorizontalMenuView</code> (<codeclass="language-plaintext highlighter-rouge">%HM1</code>), etc.</li>
<li>Message preview (<codeclass="language-plaintext highlighter-rouge">%TL3</code>). A rendered (that is, pipe codes resolved) preview of the text in <codeclass="language-plaintext highlighter-rouge">%ET2</code>.</li>
</ol>
<p>10+: Custom using <codeclass="language-plaintext highlighter-rouge">itemFormat</code>. See below.</p>
<h3id="item-format">Item Format</h3>
<p>The following <codeclass="language-plaintext highlighter-rouge">itemFormat</code> object is provided for MCI 1 and 10+ for the currently selected item/node:</p>
<ul>
<li><codeclass="language-plaintext highlighter-rouge">text</code>: Node ID or “-ALL-“ (All nodes).</li>
<li><codeclass="language-plaintext highlighter-rouge">node</code>: Node ID or <codeclass="language-plaintext highlighter-rouge">-1</code> in the case of all nodes.</li>
<li><codeclass="language-plaintext highlighter-rouge">userId</code>: User ID.</li>