2021-10-22 22:16:28 +02:00

53 lines
1.5 KiB
Plaintext

# set
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/set.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:3ch"><code><span class="synB">SET</span> <span class="syn10">[<span class="syn">-clear</span> | <span class="syn">-default</span> | <span class="syn">-section</span>]</span> <span class="syn10">[<span class="syn09">&lt;key></span> <span class="syn14">[<span class="syn13">&lt;value></span>]</span>]</span></code></pre></div>
## Parameters ##
| | |
| --- | --- |
| `-clear`: | Removes the setting's value from the configuration. |
| `-default`: | Restore the setting to its default value. |
| `-section`: | Print settings under the specified section |
The setting and the value; if no value is given, the list of settings that
matched will be returned. If no arguments are given, all the settings will
be displayed.
## Description ##
Modifies the value of a setting; boolean settings accept only ON, OFF and
TOGGLE.
Please remember that you need to use the SAVE command to store the changes
into your configuration.
## Examples ##
/SET
/SET nick mike
/SET -clear nick
/SET log_timestamp %H:%H:%S
/SET -default log_timestamp
/SET -section lookandfeel
/SET close
## See also ##
[SAVE](/documentation/help/save), [TOGGLE](/documentation/help/toggle)