fix ucommands.rst style

This commit is contained in:
Antoine Beaupré 2017-03-25 11:47:23 -04:00
parent 689137420b
commit 8bb743a695
No known key found for this signature in database
GPG key ID: 792152527B75921E

View file

@ -4,76 +4,72 @@ User Commands
Standard IRC commands are not listed here. Several of the commands in Standard IRC commands are not listed here. Several of the commands in
the operator commands chapter can also be used by normal users. the operator commands chapter can also be used by normal users.
ACCEPT ``ACCEPT``
------ ------
ACCEPT ::
nick
, ACCEPT nick, -nick, ...
-
nick
,
...
Adds or removes users from your accept list for umode +g and +R. Users Adds or removes users from your accept list for umode +g and +R. Users
are automatically removed when they quit, split or change nick. are automatically removed when they quit, split or change nick.
ACCEPT ::
\*
ACCEPT *
Lists all users on your accept list. Lists all users on your accept list.
Support of this command is indicated by the CALLERID token in Support of this command is indicated by the ``CALLERID`` token in
RPL\_ISUPPORT (005); the optional parameter indicates the letter of the ``RPL_ISUPPORT`` (005); the optional parameter indicates the letter of the
“only allow accept users to send private messages” umode, otherwise +g. “only allow accept users to send private messages” umode, otherwise +g.
In charybdis this is always +g. In charybdis this is always +g.
CNOTICE CNOTICE
------- -------
CNOTICE ::
nick
channel
:
text
Providing you are opped (+o) or voiced (+v) in channel, and nick is a
member of channel, CNOTICE generates a NOTICE towards nick.
CNOTICE bypasses any anti-spam measures in place. If you get “Targets CNOTICE nick channel :text
Providing you are opped (+o) or voiced (+v) in channel, and nick is a
member of channel, ``CNOTICE`` generates a ``NOTICE`` towards nick.
``CNOTICE`` bypasses any anti-spam measures in place. If you get “Targets
changing too fast, message dropped”, you should probably use this changing too fast, message dropped”, you should probably use this
command, for example sending a notice to every user joining a certain command, for example sending a notice to every user joining a certain
channel. channel.
As of charybdis 3.1, NOTICE automatically behaves as CNOTICE if you are As of charybdis 3.1, ``NOTICE`` automatically behaves as ``CNOTICE`` if you are
in a channel fulfilling the conditions. in a channel fulfilling the conditions.
Support of this command is indicated by the CNOTICE token in Support of this command is indicated by the ``CNOTICE`` token in
RPL\_ISUPPORT (005). ``RPL_ISUPPORT`` (005).
CPRIVMSG CPRIVMSG
-------- --------
CPRIVMSG ::
nick CPRIVMSG nick channel :text
channel
:
text
Providing you are opped (+o) or voiced (+v) in channel, and nick is a
member of channel, CPRIVMSG generates a PRIVMSG towards nick.
CPRIVMSG bypasses any anti-spam measures in place. If you get “Targets Providing you are opped (+o) or voiced (+v) in channel, and nick is a
member of channel, ``CPRIVMSG`` generates a ``PRIVMSG`` towards nick.
``CPRIVMSG`` bypasses any anti-spam measures in place. If you get “Targets
changing too fast, message dropped”, you should probably use this changing too fast, message dropped”, you should probably use this
command. command.
As of charybdis 3.1, PRIVMSG automatically behaves as CPRIVMSG if you As of charybdis 3.1, ``PRIVMSG`` automatically behaves as ``CPRIVMSG`` if you
are in a channel fulfilling the conditions. are in a channel fulfilling the conditions.
Support of this command is indicated by the CPRIVMSG token in Support of this command is indicated by the ``CPRIVMSG`` token in
RPL\_ISUPPORT (005). ``RPL_ISUPPORT`` (005).
FINDFORWARDS FINDFORWARDS
------------ ------------
FINDFORWARDS ::
channel FINDFORWARDS channel
.. note:: This command is only available if the ``m_findforwards.so`` .. note:: This command is only available if the ``m_findforwards.so``
extension is loaded. extension is loaded.
@ -87,27 +83,28 @@ this command.
HELP HELP
---- ----
HELP ::
topic HELP [topic]
Displays help information. topic can be INDEX, CREDITS, UMODE, CMODE,
SNOMASK or a command name.
There are separate help files for users and opers. Opers can use UHELP Displays help information. topic can be ``INDEX``, ``CREDITS``, ``UMODE``, ``CMODE``,
``SNOMASK`` or a command name.
There are separate help files for users and opers. Opers can use ``UHELP``
to query the user help files. to query the user help files.
IDENTIFY IDENTIFY
-------- --------
IDENTIFY ::
parameters... IDENTIFY parameters...
.. note:: This command is only available if the ``m_identify.so`` .. note:: This command is only available if the ``m_identify.so``
extension is loaded. extension is loaded.
Sends an identify command to either NickServ or ChanServ. If the first Sends an identify command to either NickServ or ChanServ. If the first
parameter starts with #, the command is sent to ChanServ, otherwise to parameter starts with #, the command is sent to ChanServ, otherwise to
NickServ. The word IDENTIFY, a space and all parameters are concatenated NickServ. The word ``IDENTIFY``, a space and all parameters are concatenated
and sent as a PRIVMSG to the service. If the service is not online or and sent as a ``PRIVMSG`` to the service. If the service is not online or
does not have umode +S set, no message will be sent. does not have umode +S set, no message will be sent.
The exact syntax for this command depends on the services package in The exact syntax for this command depends on the services package in
@ -116,8 +113,9 @@ use.
KNOCK KNOCK
----- -----
KNOCK ::
channel KNOCK channel
Requests an invite to the given channel. The channel must be locked Requests an invite to the given channel. The channel must be locked
somehow (+ikl), must not be +p and you may not be banned or quieted. somehow (+ikl), must not be +p and you may not be banned or quieted.
Also, this command is rate limited. Also, this command is rate limited.
@ -125,7 +123,7 @@ Also, this command is rate limited.
If successful, all channel operators will receive a 710 numeric. The If successful, all channel operators will receive a 710 numeric. The
recipient field of this numeric is the channel. recipient field of this numeric is the channel.
Support of this command is indicated by the KNOCK token in RPL\_ISUPPORT Support of this command is indicated by the ``KNOCK`` token in ``RPL_ISUPPORT``
(005). (005).
MONITOR MONITOR
@ -136,8 +134,8 @@ quits with a listed nick or changes to or from a listed nick, you will
receive a 730 numeric if the nick went online and a 731 numeric if the receive a 730 numeric if the nick went online and a 731 numeric if the
nick went offline. nick went offline.
Support of this command is indicated by the MONITOR token in Support of this command is indicated by the ``MONITOR`` token in
RPL\_ISUPPORT (005); the parameter indicates the maximum number of ``RPL_ISUPPORT`` (005); the parameter indicates the maximum number of
nicknames you may have in your monitor list. nicknames you may have in your monitor list.
You may only use this command once per second. You may only use this command once per second.
@ -145,27 +143,31 @@ You may only use this command once per second.
More details can be found in ``doc/monitor.txt`` in the source More details can be found in ``doc/monitor.txt`` in the source
distribution. distribution.
MONITOR + ::
nick MONITOR + nick, ...
,
...
Adds nicks to your monitor list. You will receive 730 and 731 numerics Adds nicks to your monitor list. You will receive 730 and 731 numerics
for the nicks. for the nicks.
MONITOR - ::
nick MONITOR - nick, ...
,
...
Removes nicks from your monitor list. No output is generated for this Removes nicks from your monitor list. No output is generated for this
command. command.
MONITOR C ::
MONITOR C
Clears your monitor list. No output is generated for this command. Clears your monitor list. No output is generated for this command.
MONITOR L ::
MONITOR L
Lists all nicks on your monitor list, using 732 numerics and ending with Lists all nicks on your monitor list, using 732 numerics and ending with
a 733 numeric. a 733 numeric.
MONITOR S ::
MONITOR S
Shows status for all nicks on your monitor list, using 730 and 731 Shows status for all nicks on your monitor list, using 730 and 731
numerics. numerics.