mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2024-11-27 14:59:25 +01:00
69 lines
1.8 KiB
ReStructuredText
69 lines
1.8 KiB
ReStructuredText
|
|
.. _plugin-herald:
|
|
|
|
The Herald plugin
|
|
=================
|
|
|
|
.. _command-get:
|
|
|
|
get [<channel>] [<user|nick>]
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Returns the current herald message for *<user>* (or the user
|
|
*<nick|hostmask>* is currently identified or recognized as). If *<user>*
|
|
is not given, defaults to the user giving the command. *<channel>*
|
|
is only necessary if the message isn't sent in the channel itself.
|
|
|
|
|
|
.. _command-die:
|
|
|
|
die
|
|
^^^^
|
|
|
|
|
|
|
|
.. _command-remove:
|
|
|
|
remove [<channel>] [<user|nick>]
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Removes the herald message set for *<user>*, or the user
|
|
*<nick|hostmask>* is currently identified or recognized as. If *<user>*
|
|
is not given, defaults to the user giving the command.
|
|
*<channel>* is only necessary if the message isn't sent in the channel
|
|
itself.
|
|
|
|
|
|
.. _command-default:
|
|
|
|
default [<channel>] [--remove|<msg>]
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
If *<msg>* is given, sets the default herald to *<msg>*. A *<msg>* of ""
|
|
will remove the default herald. If *<msg>* is not given, returns the
|
|
current default herald. *<channel>* is only necessary if the message
|
|
isn't sent in the channel itself.
|
|
|
|
|
|
.. _command-add:
|
|
|
|
add [<channel>] <user|nick> <msg>
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Sets the herald message for *<user>* (or the user *<nick|hostmask>* is
|
|
currently identified or recognized as) to *<msg>*. *<channel>* is only
|
|
necessary if the message isn't sent in the channel itself.
|
|
|
|
|
|
.. _command-change:
|
|
|
|
change [<channel>] [<user|nick>] <regexp>
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Changes the herald message for *<user>*, or the user *<nick|hostmask>* is
|
|
currently identified or recognized as, according to *<regexp>*. If
|
|
*<user>* is not given, defaults to the calling user. *<channel>* is only
|
|
necessary if the message isn't sent in the channel itself.
|
|
|
|
|