forked from PsychoticNinja/ailin-nemui-irssi
40 lines
987 B
Plaintext
40 lines
987 B
Plaintext
:::{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"><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)
|
||
|