0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-16 01:26:58 +01:00

Add help/opers/extban for users and opers.

This commit is contained in:
freenode!ChrisAM 2010-05-18 22:53:22 -04:00
parent 3c30c7a2de
commit 9e970ffd6d
4 changed files with 63 additions and 26 deletions

View file

@ -16,7 +16,7 @@ SYMLINKS= topic accept cmode admin names links away whowas \
version kick who invite quit join list nick oper part \ version kick who invite quit join list nick oper part \
time credits motd userhost users whois ison lusers \ time credits motd userhost users whois ison lusers \
user help pass error challenge knock ping pong \ user help pass error challenge knock ping pong \
cprivmsg cnotice map trace chantrace cprivmsg cnotice map trace chantrace extban
all: all:
build: build:

35
help/opers/extban Normal file
View file

@ -0,0 +1,35 @@
MODE <channel> <+|-><b|q|e|I> $[~]<type>[:<data>]
Extended bans (ban conditionals) allow different checks than the usual
nick!user@host or nick!user@ip match to determine whether someone should
be banned, quieted, exempted or invited.
Extended bans are of the form $[~]<type>[:<data>]. The <type> is one
character (case insensitive) and determines the type of match. Most types
allow or require an extra field <data>. If the tilde (~) is present, the
result of the comparison will be negated, unless the ban is invalid in which
case it will never match. Invalid bans are ones where <data> is missing but
required or where <data> is otherwise invalid as noted below.
Unless noted below, all types can be used with +b, +q, +e and +I.
extb Type - DESCRIPTION
------------------------------------------------------------------------
$a - Matches all logged in users
$a:<mask> - Matches users logged in with a username matching the mask
(* and ? wildcards)
$c:<chan> - Matches users who are on the given channel; this is only
valid if the channel exists and is not +s or +p. (The ops
of the channel the ban is on cannot necessarily see whether
the user is in the target channel, so it should not
influence whether they can join either.)
$o - Matches opers (most useful with +I)
$r:<mask> - Matches users with a realname (gecos) matching the mask
(* and ? wildcards); this can only be used with +b and +q
$s:<mask> - matches users connected to a server matching the mask
(* and ? wildcards); this can only be used with +b and +q
$j:<chan> - matches users who are or are not banned from a specified
channel
$x:<mask> - Bans all users with matching nick!user@host#gecos
$z - Matches all SSL users

View file

@ -5,19 +5,20 @@ CHALLENGE CHANTRACE CLOSE CMODE
CNOTICE CONNECT CPRIVMSG CREDITS CNOTICE CONNECT CPRIVMSG CREDITS
DIE DLINE ERROR ETRACE DIE DLINE ERROR ETRACE
HELP INDEX INFO INVITE HELP INDEX INFO INVITE
ISON JOIN KICK KILL EXTBAN ISON JOIN KICK
KLINE KNOCK LINKS LIST KILL KLINE KNOCK LINKS
LOCOPS LUSERS MAP MASKTRACE LIST LOCOPS LUSERS MAP
MODLIST MODLOAD MODRELOAD MODRESTART MASKTRACE MODLIST MODLOAD MODRELOAD
MODUNLOAD MOTD NAMES NICK MODRESTART MODUNLOAD MOTD NAMES
NOTICE OPER OPERSPY OPERWALL NICK NOTICE OPER OPERSPY
PART PASS PING PONG OPERWALL PART PASS PING
POST PRIVMSG QUIT REHASH PONG POST PRIVMSG QUIT
RESTART RESV SCAN SERVER REHASH RESTART RESV SCAN
SET SJOIN SNOMASK SQUIT SERVER SET SJOIN SNOMASK
STATS SVINFO TESTGECOS TESTLINE SQUIT STATS SVINFO TESTGECOS
TESTMASK TIME TOPIC TRACE TESTLINE TESTMASK TIME TOPIC
UHELP UMODE UNDLINE UNKLINE TRACE UHELP UMODE UNDLINE
UNREJECT UNRESV UNXLINE USER UNKLINE UNREJECT UNRESV UNXLINE
USERHOST USERS VERSION WALLOPS USER USERHOST USERS VERSION
WHO WHOIS WHOWAS XLINE WALLOPS WHO WHOIS WHOWAS
XLINE

View file

@ -2,12 +2,13 @@ Help topics available to users:
ACCEPT ADMIN AWAY CHALLENGE ACCEPT ADMIN AWAY CHALLENGE
CMODE CNOTICE CPRIVMSG CREDITS CMODE CNOTICE CPRIVMSG CREDITS
ERROR HELP INDEX INFO ERROR EXTBAN HELP INDEX
INVITE ISON JOIN KICK INFO INVITE ISON JOIN
KNOCK LINKS LIST LUSERS KICK KNOCK LINKS LIST
MAP MOTD NAMES NICK LUSERS MAP MOTD NAMES
NOTICE OPER PART PASS NICK NOTICE OPER PART
PING PONG PRIVMSG QUIT PASS PING PONG PRIVMSG
STATS TIME TOPIC TRACE QUIT STATS TIME TOPIC
UMODE USER USERHOST USERS TRACE UMODE USER USERHOST
VERSION WHO WHOIS WHOWAS USERS VERSION WHO WHOIS
WHOWAS