<h1>Clickable links<aclass="headerlink"href="#clickable-links"title="Permalink to this headline">¶</a></h1>
<p>Evennia supports clickable links for clients that supports it. This marks certain text so it can be
clicked by a mouse and either trigger a given Evennia command, or open a URL in an external web
browser. To support clickable links, Evennia requires the webclient or an third-party telnet client
with <aclass="reference external"href="http://www.zuggsoft.com/zmud/mxp.htm">MXP</a> support (<em>Note: Evennia only supports clickable links, no other MXP features</em>).</p>
<ulclass="simple">
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">|lc</span></code> to start the link, by defining the command to execute.</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">|lu</span></code> to start the link, by defining the URL to open.</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">|lt</span></code> to continue with the text to show to the user (the link text).</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">|le</span></code> to end the link text and the link definition.</p></li>
</ul>
<p>All elements must appear in exactly this order to make a valid link. For example,</p>
<divclass="highlight-default notranslate"><divclass="highlight"><pre><span></span><spanclass="s2">"If you go |lcnorth|ltto the north|le you will find a cottage."</span>
</pre></div>
</div>
<p>This will display as “If you go <strong>to the north</strong> you will find a cottage.” where clicking the link
will execute the command <codeclass="docutils literal notranslate"><spanclass="pre">north</span></code>. If the client does not support clickable links, only the link text