2022-04-25 19:34:35 +02:00

40 lines
987 B
Plaintext
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.

:::{important} You are reading the help for Irssi 1.0. **The current release version is Neırssi 1.3.**
:::
# toggle
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/toggle.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-settings.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:6ch"><code><span class="synB">TOGGLE</span> <span class="synB05">&lt;key></span> <span class="syn10">[<span class="syn">on</span>|<span class="syn">off</span>|<span class="syn">toggle</span>]</span></code></pre></div>
## Parameters ##
The setting to modify and the new value; if no value is given, its opposite
will be used.
## Description ##
Modifies a setting to its counter value; you can also give ON or OFF as a
value.
## Examples ##
/TOGGLE resolve_prefer_ipv6
/TOGGLE channels_rejoin_unavailable ON
## See also ##
[SET](/documentation/help/1.0/set)