2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
.. _plugin-config:
|
|
|
|
|
|
|
|
The Config plugin
|
|
|
|
=================
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-help:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
help <name>
|
|
|
|
^^^^^^^^^^^
|
|
|
|
|
|
|
|
Returns the description of the configuration variable *<name>*.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-default:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
default <name>
|
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Returns the default value of the configuration variable *<name>*.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-list:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
list <group>
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Returns the configuration variables available under the given
|
|
|
|
configuration *<group>*. If a variable has values under it, it is
|
|
|
|
preceded by an '@' sign. If a variable is a 'ChannelValue', that is,
|
|
|
|
it can be separately configured for each channel using the 'channel'
|
|
|
|
command in this plugin, it is preceded by an '#' sign.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-search:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
search <word>
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Searches for *<word>* in the current configuration variables.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-reload:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
reload
|
|
|
|
^^^^^^
|
|
|
|
|
|
|
|
Reloads the various configuration files (user database, channel
|
|
|
|
database, registry, etc.).
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-export:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
export <filename>
|
|
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Exports the public variables of your configuration to *<filename>*.
|
|
|
|
If you want to show someone your configuration file, but you don't
|
|
|
|
want that person to be able to see things like passwords, etc., this
|
|
|
|
command will export a "sanitized" configuration file suitable for
|
|
|
|
showing publicly.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-channel:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
channel [<channel>] <name> [<value>]
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
If *<value>* is given, sets the channel configuration variable for *<name>*
|
|
|
|
to *<value>* for *<channel>*. Otherwise, returns the current channel
|
|
|
|
configuration value of *<name>*. *<channel>* is only necessary if the
|
|
|
|
message isn't sent in the channel itself.
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-config:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
config <name> [<value>]
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
If *<value>* is given, sets the value of *<name>* to *<value>*. Otherwise,
|
|
|
|
returns the current value of *<name>*. You may omit the leading
|
|
|
|
"supybot." in the name if you so choose.
|
|
|
|
|
|
|
|
|