1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
# first section is usage
# second section is that config maker will put into config or /msg style help
# third section is full help
module modes
:%*
:
:This module contains support for bans and greetings management.
greeting
:%* [channel["@"net]] [--lname] [text|"NONE"]
:
:Changes text of greeting for any channel on any network. Value "%^NONE%^"\
removes greeting for that channel. You can omit network or channel name\
if you have set default channel with command %cconsole%n. If you have enough\
permissions (master or above) then you can change greeting for others with\
this command too.
+ban
:%* ["%%"]mask <service>|"*" ["+"time] [reason]
:
:Creates new "nonamed" ban record. If %_service%_ is "%^*%^" then sets\
global ban for the %_mask%_, else sets ban for the %_mask%_ on %_service%_\
(which can be comma separated list of networks and channels). If %_time%_\
is omitted then ban will be expired after %cdefault-ban-time%n, else sets\
expiration time with %_time%_ which is string in form [N"w"][X"d"][Y"h"][Z"m"]\
where N is number of weeks, X is number of days, Y is number of hours, and\
Z is number of minutes (example: +1d4h - ban will be expired in 1 day and\
4 hours from current moment). If %_reason%_ is omitted then use "you are\
banned" value (see module "%yirc-channel%n"). If mask is prepended with\
"%%" then ban is considered "sticky", i.e. it will be not took off after\
some time if it's set on the channel but will be on until expiration.
-ban
:%* mask
:
:Deletes "nonamed" ban record for the %_mask%_.
chban
:%* ["%%"]mask <service>|"*" ["+"time] [reason]
:
:Changes "sticky" flag, targets, time and reason of already existing\
"nonamed" ban. If %_service%_ is "%^*%^" then changes ban to be global one,\
else changes it to be one on %_service%_ (which can be comma separated list\
of networks and channels). If %_time%_ and/or %_reason%_ is omitted then\
previous expiration time and/or reason will be kept for the ban. See also\
%yhelp +ban%n for more details.
comment
:%* lname [text]
:
:Shows or sets comment (it is mostly ban reason) on some client %_lname%_. If\
%_text%_ is omitted then shows current value, else resets value of comment\
with %_text%_. See also %yhelp +ban%n.
set default-ban-time
:%* <seconds>
:Default expiration time for bans (in seconds).
:Defines default expiration time for command %c+ban%n.
Default: 172800.
|