2022-05-05 11:47:25 +02:00

585 lines
37 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<link rel="index" title="Index" href="../../../genindex.html" /><link rel="search" title="Search" href="../../../search.html" /><link rel="next" title="motd" href="motd.html" /><link rel="prev" title="mircdcc" href="mircdcc.html" />
<link rel="canonical" href="https://ailin-nemui.github.io/irssi/documentation/help/1.0/mode.html" />
<meta name="generator" content="sphinx-4.4.0, furo 2022.04.07"/>
<title>mode - Irssi 1.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?digest=68f4518137b9aefe99b631505a2064c3c42c9852" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?digest=30d1aed668e5c3a91c3e3bf6a60b675221979f0e" />
<link rel="stylesheet" type="text/css" href="../../../_static/theme_tweak.css" />
<style>
body {
--color-code-background: #f8f8f8;
--color-code-foreground: black;
}
@media not print {
body[data-theme="dark"] {
--color-code-background: #202020;
--color-code-foreground: #d0d0d0;
}
@media (prefers-color-scheme: dark) {
body:not([data-theme="light"]) {
--color-code-background: #202020;
--color-code-foreground: #d0d0d0;
}
}
}
</style></head>
<body>
<script>
document.body.dataset.theme = localStorage.getItem("theme") || "auto";
</script>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-toc" viewBox="0 0 24 24">
<title>Contents</title>
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024">
<path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"/>
</svg>
</symbol>
<symbol id="svg-menu" viewBox="0 0 24 24">
<title>Menu</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
<title>Expand</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</symbol>
<symbol id="svg-sun" viewBox="0 0 24 24">
<title>Light mode</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="feather-sun">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</symbol>
<symbol id="svg-moon" viewBox="0 0 24 24">
<title>Dark mode</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
</svg>
</symbol>
<symbol id="svg-sun-half" viewBox="0 0 24 24">
<title>Auto light/dark mode</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-shadow">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="12" r="9" />
<path d="M13 12h5" />
<path d="M13 15h4" />
<path d="M13 18h1" />
<path d="M13 9h4" />
<path d="M13 6h1" />
</svg>
</symbol>
</svg>
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
<label class="overlay sidebar-overlay" for="__navigation">
<div class="visually-hidden">Hide navigation sidebar</div>
</label>
<label class="overlay toc-overlay" for="__toc">
<div class="visually-hidden">Hide table of contents sidebar</div>
</label>
<div class="page">
<header class="mobile-header">
<div class="header-left">
<label class="nav-overlay-icon" for="__navigation">
<div class="visually-hidden">Toggle site navigation sidebar</div>
<i class="icon"><svg><use href="#svg-menu"></use></svg></i>
</label>
</div>
<div class="header-center">
<a href="../../../index.html"><div class="brand">Irssi 1.0 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
<button class="theme-toggle">
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
<svg class="theme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-header-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
</header>
<aside class="sidebar-drawer">
<div class="sidebar-container">
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../../index.html">
<span class="sidebar-brand-text">Irssi 1.0 documentation</span>
</a><form class="sidebar-search-container" method="get" action="../../../search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
</form>
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../Getting.html">Getting the software</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../New-users.html">New users guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../User-interface.html">User interface</a></li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../../news/index.html">NEWS</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="../../../news/Irssi-1.3.html">Irssi 1.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../news/Irssi-1.4.html">Irssi 1.4</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../Modules.html">Modules</a></li>
<li class="toctree-l1 current has-children"><a class="reference internal" href="../../index.html">On-line help</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" role="switch" type="checkbox"/><label for="toctree-checkbox-2"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l2 current has-children"><a class="reference internal" href="index.html">Help</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" role="switch" type="checkbox"/><label for="toctree-checkbox-3"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Connection.html">Connection</a><input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" role="switch" type="checkbox"/><label for="toctree-checkbox-4"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="connect.html">connect</a></li>
<li class="toctree-l4"><a class="reference internal" href="disconnect.html">disconnect</a></li>
<li class="toctree-l4"><a class="reference internal" href="network.html">network</a></li>
<li class="toctree-l4"><a class="reference internal" href="quit.html">quit</a></li>
<li class="toctree-l4"><a class="reference internal" href="rawlog.html">rawlog</a></li>
<li class="toctree-l4"><a class="reference internal" href="reconnect.html">reconnect</a></li>
<li class="toctree-l4"><a class="reference internal" href="rmreconns.html">rmreconns</a></li>
<li class="toctree-l4"><a class="reference internal" href="server.html">server</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Core%20Commands.html">Core Commands</a><input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" role="switch" type="checkbox"/><label for="toctree-checkbox-5"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="channel.html">channel</a></li>
<li class="toctree-l4"><a class="reference internal" href="cycle.html">cycle</a></li>
<li class="toctree-l4"><a class="reference internal" href="join.html">join</a></li>
<li class="toctree-l4"><a class="reference internal" href="msg.html">msg</a></li>
<li class="toctree-l4"><a class="reference internal" href="names.html">names</a></li>
<li class="toctree-l4"><a class="reference internal" href="query.html">query</a></li>
<li class="toctree-l4"><a class="reference internal" href="unquery.html">unquery</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Window%20Commands.html">Window Commands</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="clear.html">clear</a></li>
<li class="toctree-l4"><a class="reference internal" href="lastlog.html">lastlog</a></li>
<li class="toctree-l4"><a class="reference internal" href="layout.html">layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="scrollback.html">scrollback</a></li>
<li class="toctree-l4 has-children"><a class="reference internal" href="window.html">window</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l5"><a class="reference internal" href="window_creation.html">creation</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_changing.html">changing</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_properties.html">attribute manipulation</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_items.html">items</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_moving.html">moving/number changing</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_resizing.html">resizing</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_navigation.html">navigation</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_split_moving.html">moving</a></li>
<li class="toctree-l5"><a class="reference internal" href="window_logging.html">logging</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Settings.html">Settings</a><input class="toctree-checkbox" id="toctree-checkbox-8" name="toctree-checkbox-8" role="switch" type="checkbox"/><label for="toctree-checkbox-8"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="alias.html">alias</a></li>
<li class="toctree-l4 has-children"><a class="reference internal" href="bind.html">bind</a><input class="toctree-checkbox" id="toctree-checkbox-9" name="toctree-checkbox-9" role="switch" type="checkbox"/><label for="toctree-checkbox-9"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
</ul>
</li>
<li class="toctree-l4"><a class="reference internal" href="completion.html">completion</a></li>
<li class="toctree-l4"><a class="reference internal" href="dehilight.html">dehilight</a></li>
<li class="toctree-l4"><a class="reference internal" href="format.html">format</a></li>
<li class="toctree-l4"><a class="reference internal" href="hilight.html">hilight</a></li>
<li class="toctree-l4"><a class="reference internal" href="ignore.html">ignore</a></li>
<li class="toctree-l4"><a class="reference internal" href="log.html">log</a></li>
<li class="toctree-l4"><a class="reference internal" href="recode.html">recode</a></li>
<li class="toctree-l4"><a class="reference internal" href="reload.html">reload</a></li>
<li class="toctree-l4"><a class="reference internal" href="save.html">save</a></li>
<li class="toctree-l4"><a class="reference internal" href="set.html">set</a></li>
<li class="toctree-l4"><a class="reference internal" href="statusbar.html">statusbar</a></li>
<li class="toctree-l4"><a class="reference internal" href="toggle.html">toggle</a></li>
<li class="toctree-l4"><a class="reference internal" href="unalias.html">unalias</a></li>
<li class="toctree-l4"><a class="reference internal" href="unignore.html">unignore</a></li>
<li class="toctree-l4"><a class="reference internal" href="upgrade.html">upgrade</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Misc.html">Misc</a><input class="toctree-checkbox" id="toctree-checkbox-10" name="toctree-checkbox-10" role="switch" type="checkbox"/><label for="toctree-checkbox-10"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="beep.html">beep</a></li>
<li class="toctree-l4"><a class="reference internal" href="cat.html">cat</a></li>
<li class="toctree-l4"><a class="reference internal" href="cd.html">cd</a></li>
<li class="toctree-l4"><a class="reference internal" href="echo.html">echo</a></li>
<li class="toctree-l4"><a class="reference internal" href="eval.html">eval</a></li>
<li class="toctree-l4"><a class="reference internal" href="exec.html">exec</a></li>
<li class="toctree-l4"><a class="reference internal" href="help.html">help</a></li>
<li class="toctree-l4"><a class="reference internal" href="load.html">load</a></li>
<li class="toctree-l4"><a class="reference internal" href="unload.html">unload</a></li>
<li class="toctree-l4"><a class="reference internal" href="uptime.html">uptime</a></li>
<li class="toctree-l4"><a class="reference internal" href="version.html">version</a></li>
</ul>
</li>
<li class="toctree-l3 current has-children"><a class="reference internal" href="cat_IRC%20Commands.html">IRC Commands</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-11" name="toctree-checkbox-11" role="switch" type="checkbox"/><label for="toctree-checkbox-11"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="current">
<li class="toctree-l4"><a class="reference internal" href="accept.html">accept</a></li>
<li class="toctree-l4"><a class="reference internal" href="action.html">action</a></li>
<li class="toctree-l4"><a class="reference internal" href="admin.html">admin</a></li>
<li class="toctree-l4"><a class="reference internal" href="away.html">away</a></li>
<li class="toctree-l4"><a class="reference internal" href="ban.html">ban</a></li>
<li class="toctree-l4"><a class="reference internal" href="ctcp.html">ctcp</a></li>
<li class="toctree-l4"><a class="reference internal" href="dcc.html">dcc</a></li>
<li class="toctree-l4"><a class="reference internal" href="deop.html">deop</a></li>
<li class="toctree-l4"><a class="reference internal" href="devoice.html">devoice</a></li>
<li class="toctree-l4"><a class="reference internal" href="die.html">die</a></li>
<li class="toctree-l4"><a class="reference internal" href="hash.html">hash</a></li>
<li class="toctree-l4"><a class="reference internal" href="info.html">info</a></li>
<li class="toctree-l4"><a class="reference internal" href="invite.html">invite</a></li>
<li class="toctree-l4"><a class="reference internal" href="ison.html">ison</a></li>
<li class="toctree-l4"><a class="reference internal" href="kick.html">kick</a></li>
<li class="toctree-l4"><a class="reference internal" href="kickban.html">kickban</a></li>
<li class="toctree-l4"><a class="reference internal" href="kill.html">kill</a></li>
<li class="toctree-l4"><a class="reference internal" href="knock.html">knock</a></li>
<li class="toctree-l4"><a class="reference internal" href="knockout.html">knockout</a></li>
<li class="toctree-l4"><a class="reference internal" href="links.html">links</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html">list</a></li>
<li class="toctree-l4"><a class="reference internal" href="lusers.html">lusers</a></li>
<li class="toctree-l4"><a class="reference internal" href="map.html">map</a></li>
<li class="toctree-l4"><a class="reference internal" href="me.html">me</a></li>
<li class="toctree-l4"><a class="reference internal" href="mircdcc.html">mircdcc</a></li>
<li class="toctree-l4 current current-page"><a class="current reference internal" href="#">mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="motd.html">motd</a></li>
<li class="toctree-l4"><a class="reference internal" href="nctcp.html">nctcp</a></li>
<li class="toctree-l4"><a class="reference internal" href="netsplit.html">netsplit</a></li>
<li class="toctree-l4"><a class="reference internal" href="nick.html">nick</a></li>
<li class="toctree-l4"><a class="reference internal" href="notice.html">notice</a></li>
<li class="toctree-l4"><a class="reference internal" href="notify.html">notify</a></li>
<li class="toctree-l4"><a class="reference internal" href="op.html">op</a></li>
<li class="toctree-l4"><a class="reference internal" href="oper.html">oper</a></li>
<li class="toctree-l4"><a class="reference internal" href="part.html">part</a></li>
<li class="toctree-l4"><a class="reference internal" href="ping.html">ping</a></li>
<li class="toctree-l4"><a class="reference internal" href="quote.html">quote</a></li>
<li class="toctree-l4"><a class="reference internal" href="rehash.html">rehash</a></li>
<li class="toctree-l4"><a class="reference internal" href="restart.html">restart</a></li>
<li class="toctree-l4"><a class="reference internal" href="sconnect.html">sconnect</a></li>
<li class="toctree-l4"><a class="reference internal" href="servlist.html">servlist</a></li>
<li class="toctree-l4"><a class="reference internal" href="silence.html">silence</a></li>
<li class="toctree-l4"><a class="reference internal" href="squery.html">squery</a></li>
<li class="toctree-l4"><a class="reference internal" href="squit.html">squit</a></li>
<li class="toctree-l4"><a class="reference internal" href="stats.html">stats</a></li>
<li class="toctree-l4"><a class="reference internal" href="time.html">time</a></li>
<li class="toctree-l4"><a class="reference internal" href="topic.html">topic</a></li>
<li class="toctree-l4"><a class="reference internal" href="trace.html">trace</a></li>
<li class="toctree-l4"><a class="reference internal" href="ts.html">ts</a></li>
<li class="toctree-l4"><a class="reference internal" href="unban.html">unban</a></li>
<li class="toctree-l4"><a class="reference internal" href="unnotify.html">unnotify</a></li>
<li class="toctree-l4"><a class="reference internal" href="unsilence.html">unsilence</a></li>
<li class="toctree-l4"><a class="reference internal" href="userhost.html">userhost</a></li>
<li class="toctree-l4"><a class="reference internal" href="ver.html">ver</a></li>
<li class="toctree-l4"><a class="reference internal" href="voice.html">voice</a></li>
<li class="toctree-l4"><a class="reference internal" href="wait.html">wait</a></li>
<li class="toctree-l4"><a class="reference internal" href="wall.html">wall</a></li>
<li class="toctree-l4"><a class="reference internal" href="wallops.html">wallops</a></li>
<li class="toctree-l4"><a class="reference internal" href="who.html">who</a></li>
<li class="toctree-l4"><a class="reference internal" href="whois.html">whois</a></li>
<li class="toctree-l4"><a class="reference internal" href="whowas.html">whowas</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_IRC%20Proxy.html">IRC Proxy</a><input class="toctree-checkbox" id="toctree-checkbox-12" name="toctree-checkbox-12" role="switch" type="checkbox"/><label for="toctree-checkbox-12"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="irssiproxy.html">irssiproxy</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="cat_Other%20pages.html">Other pages</a><input class="toctree-checkbox" id="toctree-checkbox-13" name="toctree-checkbox-13" role="switch" type="checkbox"/><label for="toctree-checkbox-13"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="flushbuffer.html">flushbuffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="levels.html">levels</a></li>
<li class="toctree-l4"><a class="reference internal" href="rmrejoins.html">rmrejoins</a></li>
<li class="toctree-l4"><a class="reference internal" href="script.html">script</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference external" href="https://scripts.irssi.org/">Scripts</a></li>
<li class="toctree-l1"><a class="reference external" href="https://irssi.org/themes/">Themes</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/ailin-nemui/irssi">Source Code</a></li>
<li class="toctree-l1"><a class="reference external" href="https://liberapay.com/Nei">💜 Send money</a></li>
</ul>
</div></div><div id="furo-readthedocs-versions" class="rst-versions" data-toggle="rst-versions" role="note" aria-label="Versions" tabindex="0">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book">&nbsp;</span>
v: 1.0
</span>
<div class="rst-other-versions">
<dl>
<dt>Versions</dt>
<dd><a href="../mode.html">dev</a></dd>
<dd><b>1.0</b></dd>
<dd><a href="../1.1/mode.html">1.1</a></dd>
<dd><a href="../1.2/mode.html">1.2</a></dd>
<dd><a href="../1.3/mode.html">1.3</a></dd>
</dl>
</div>
</div>
</div>
</div>
</aside>
<div class="main">
<div class="content">
<div class="article-container">
<a href="#" class="back-to-top muted-link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"></path>
</svg>
<span>Back to top</span>
</a>
<div class="content-icon-container">
<div class="page-source">
<a class="muted-link" href="../../../_sources/documentation/help/1.0/mode.md.txt" title="Page source">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-code" viewBox="0 0 16 16">
<path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z"/>
<path d="M8.646 6.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 9 8.646 7.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 9l1.647-1.646a.5.5 0 0 0 0-.708z"/>
</svg> <span class="visually-hidden">Page source</span>
</a>
</div>
<div class="theme-toggle-container theme-toggle-content">
<button class="theme-toggle">
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
<svg class="theme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-content-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
<article role="main">
<div class="admonition important">
<p class="admonition-title">Important</p>
<p>You are reading the help for Irssi 1.0. <strong>The current release version is Neırssi 1.3.</strong></p>
</div>
<section id="mode">
<h1>mode<a class="headerlink" href="#mode" title="Permalink to this headline"> </a></h1>
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/mode.in
- https://github.com/ailin-nemui/irssi/blob/master/src/irc/core/modes.c
endcomment -->
<section id="syntax">
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline"> </a></h2>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:4ch"><code><span class="synB">MODE</span> <span class="synB05">&lt;your nick&gt;</span>|<span class="synB05">&lt;channel&gt;</span> <span class="syn10">[<span class="syn09">&lt;mode&gt;</span> <span class="syn14">[<span class="syn13">&lt;mode parameters&gt;</span>]</span>]</span></code></pre></div>
</section>
<section id="parameters">
<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline"> </a></h2>
<p>The target nickname or channel and the modes with their parameters to set or
remove.</p>
<p>If the target nickname or channel is omitted, the active nickname or channel
will be used.</p>
</section>
<section id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline"> </a></h2>
<p>Modifies the user or channel modes for which you are privileged to modify.</p>
<p>You can specify multiple modes in one command and prepend them by using the
+ sign to set or - sign to unset; modes that require a parameter will be
retrieved from the argument list.</p>
<p>Some common channel modes are:</p>
<div class="table-wrapper"><table class="colwidths-auto docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p></p></th>
<th class="head"><p></p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">b</span> <span class="pre">&lt;mask&gt;</span></code>:</p></td>
<td><p>Adds or removes a ban; a ban will prevent a user who matches the given mask from joining the channel unless he or she is invited or in the exempt list.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">e</span> <span class="pre">&lt;mask&gt;</span></code>:</p></td>
<td><p>Adds or removes a ban exception; users who match a mask on the exempt list are able to join a channel even if they also match an entry on the ban list.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">i</span></code>:</p></td>
<td><p>When enabled, users need to be invited into the channel or have a matching entry in the invite list.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">I</span> <span class="pre">&lt;mask&gt;</span></code>:</p></td>
<td><p>Adds or removes an invite; users who match a mask on the invite list are able to join even if the channel is set to invite only.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">k</span> <span class="pre">&lt;key&gt;</span></code>:</p></td>
<td><p>Adds or removes a channel key, aka a password; users will not be able to join the channel without providing the key.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">l</span> <span class="pre">&lt;count&gt;</span></code>:</p></td>
<td><p>Adds, removes or updates the maximum amount of users that may join the channel.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">m</span></code>:</p></td>
<td><p>When enabled, users who are not opped or voiced cannot send messages to the channel.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">n</span></code>:</p></td>
<td><p>When enabled, users who are not on the channel cannot send messages to it.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">p</span></code>:</p></td>
<td><p>When enabled, the channel will not be displayed in your WHOIS output.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">s</span></code>:</p></td>
<td><p>When enabled, the channel will not be displayed in the LIST output.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">t</span></code>:</p></td>
<td><p>When enabled, users who are not opped or voices cannot modify the channel topic.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">o</span> <span class="pre">&lt;nickname&gt;</span></code>:</p></td>
<td><p>Adds or removes the operator status from a nickname.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">v</span> <span class="pre">&lt;nickname&gt;</span></code>:</p></td>
<td><p>Adds or removes the voice status from a nickname.</p></td>
</tr>
</tbody>
</table></div>
<p>Some common user modes are:</p>
<div class="table-wrapper"><table class="colwidths-auto docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p></p></th>
<th class="head"><p></p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">i</span></code>:</p></td>
<td><p>When enabled, other users will not be able to see you on a WHO output unless they are in the channel themselves.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">w</span></code>:</p></td>
<td><p>When enabled, you will receive WALLOP messages from IRC operators.</p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">s</span></code>:</p></td>
<td><p>When enabled, you will receive special notices or debug messages from the server.</p></td>
</tr>
</tbody>
</table></div>
<p>Many networks have additional user and channel modes; we highly recommend
you to read the documentation of the networks you frequently connect to and
maximize your IRC experience.</p>
</section>
<section id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline"> </a></h2>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>/MODE #irssi +o mike
/MODE #irssi -o+iI mike mike!*@*.irssi.org
/MODE +b mike!*@*.irssi.org
/MODE -o mike
/MODE +impsnkl secret_hideout 100
/MODE mike +iw
</pre></div>
</div>
</section>
<section id="see-also">
<h2>See also<a class="headerlink" href="#see-also" title="Permalink to this headline"> </a></h2>
<p><a class="reference internal" href="ban.html"><span class="doc std std-doc">BAN</span></a>, <a class="reference internal" href="deop.html"><span class="doc std std-doc">DEOP</span></a>, <a class="reference internal" href="devoice.html"><span class="doc std std-doc">DEVOICE</span></a>, <a class="reference internal" href="op.html"><span class="doc std std-doc">OP</span></a>, <a class="reference internal" href="unban.html"><span class="doc std std-doc">UNBAN</span></a>, <a class="reference internal" href="voice.html"><span class="doc std std-doc">VOICE</span></a></p>
</section>
</section>
</article>
</div>
<footer>
<div class="related-pages">
<a class="next-page" href="motd.html">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">motd</div>
</div>
<svg><use href="#svg-arrow-right"></use></svg>
</a>
<a class="prev-page" href="mircdcc.html">
<svg><use href="#svg-arrow-right"></use></svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>
<div class="title">mircdcc</div>
</div>
</a>
</div>
<div class="bottom-of-page">
<div class="left-details">
<div class="copyright">
Copyright &#169;
</div>
Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s
<a href="https://github.com/pradyunsg/furo">Furo</a>
</div>
<div class="right-details">
<div class="icons">
</div>
</div>
</div>
</footer>
</div>
<aside class="toc-drawer">
<div class="toc-sticky toc-scroll">
<div class="toc-title-container">
<span class="toc-title">
Contents
</span>
</div>
<div class="toc-tree-container">
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">mode</a><ul>
<li><a class="reference internal" href="#syntax">Syntax</a></li>
<li><a class="reference internal" href="#parameters">Parameters</a></li>
<li><a class="reference internal" href="#description">Description</a></li>
<li><a class="reference internal" href="#examples">Examples</a></li>
<li><a class="reference internal" href="#see-also">See also</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</aside>
</div>
</div><script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
<script src="../../../_static/jquery.js"></script>
<script src="../../../_static/underscore.js"></script>
<script src="../../../_static/doctools.js"></script>
<script src="../../../_static/scripts/furo.js"></script>
</body>
</html>