Difference between revisions of "ChanServ"

From AnopeWiki
Jump to: navigation, search
(Register)
(Akick)
Line 44: Line 44:
  
 
== <div class="moduleheader">Akick</div> ==
 
== <div class="moduleheader">Akick</div> ==
 +
 +
Maintains the AutoKick list for a channel.  If a user on the AutoKick list attempts to join the channel, ChanServ will ban that user from the channel, then kick the user.
 +
 +
===Syntax===
 +
:;/msg ChanServ AKICK #channel_name ADD Nick_or_hostmask Optional_Reason :Adds the given nick or usermask to the AutoKick list.  If a reason is given with the command, that reason will be used when the user is kicked; if not, the default reason is "User has been banned from the channel".
 +
::When akicking a registered nick the NickServ account will be added to the akick list instead of the mask. All users within that nickgroup will then be akicked.
 +
 +
:;/msg ChanServ AKICK #channel_name DEL Nick_or_hostmask_or_entry-Number_or_list :Removes the given nick or mask from the AutoKick list.  It does not, however, remove any bans placed by an AutoKick; those must be removed manually.
 +
 +
:;/msg ChanServ AKICK #channel_name LIST optional_nick_or_hostmask_or_list :Displays the AutoKick list, or optionally only those AutoKick entries which match the given mask.
 +
 +
:;/msg ChanServ AKICK #channel_name VIEW Optional_nick_or_hostmask_or_entry_number_or_list :A more verbose version of the AKICK LIST command.
 +
 +
:;/msg ChanServ AKICK #channel_name ENFORCE :Causes ChanServ to enforce the current AKICK list by removing those users who match an AKICK mask.
 +
 +
:;/msg ChanServ AKICK #channel_name CLEAR :Clears all entries of the akick list.
 +
 +
===Examples===
 +
:/msg ChanServ AKICK #nightmare ADD Dream_walker Bad person
 +
:/msg ChanServ AKICK #nightmare DEL Freddy
 +
:/msg ChanServ AKICK #nightmare LIST 1-4
 +
:/msg ChanServ AKICK #kitchen VIEW
 +
:/msg ChanServ AKICK #Bedroom ENFORCE
 +
:/msg ChanServ AKICK #house CLEAR
  
 
== <div class="moduleheader">Aop</div> ==
 
== <div class="moduleheader">Aop</div> ==

Revision as of 17:16, 19 April 2015

Language

English

ChanServ Commands

NOTE: Some IRC servers provide an alias for '/msg ChanServ' where you can use '/cs' or '/chanserv' in it's place. Some irc networks, though uncommon, may require you to use the full '/msg chanserv@services.networkname.tld COMMAND_HERE Options_here' version of the command

Access

Maintains the access list for a channel. The access list specifies which users are allowed chanop status or access to ChanServ commands on the channel. Different user levels allow for access to different subsets of privileges. Any registered user not on the access list has a user level of 0, and any unregistered user has a user level of -1.


The /msg ChanServ ACCESS #channel ADD command adds the given mask to the access list with the given user level; if the mask is already present on the list, its access level is changed to the level specified in the command. The level specified may be a numerical level or the name of a privilege (eg AUTOOP). When a user joins the channel the access they receive is from the highest level entry in the access list. The given mask may also be a channel, which will use the access list from the other channel up to the given level.


The /msg ChanServ ACCESS #channel DEL command removes the given nick from the access list. If a list of entry numbers is given, those entries are deleted. (See the example for LIST below.) You may remove yourself from an access list, even if you do not have access to modify that list otherwise.


The /msg ChanServ ACCESS #channel LIST command displays the access list. If a wildcard mask is given, only those entries matching the mask are displayed. If a list of entry numbers is given, only those entries are shown; for example:

ACCESS #channel LIST 2-5,7-9
Lists access entries numbered 2 through 5 and
7 through 9.


The /msg ChanServ ACCESS #channel VIEW command displays the access list similar to ACCESS LIST but shows the creator and last used time.


The /msg ChanServ ACCESS #channel CLEAR command clears all entries of the access list.


User access levels can be seen by using the LEVELS command; type /msg ChanServ HELP LEVELS for information.

Syntax

/msg ChanServ ACCESS #channel_name ADD Nick_or_hostmask level_flag_or_xOP
/msg ChanServ ACCESS #channel_name DEL Nick_or_hostmask
/msg ChanServ ACCESS #channel_name LIST Nick_or_hostmask_or_item_number(s)
/msg ChanServ ACCESS #channel_name VIEW Nick_or_hostmask_or_item_number(s)
/msg ChanServ ACCESS #channel_name CLEAR

Examples

/msg ChanServ ACCESS #Bedroom ADD Marge SOP
/msg ChanServ ACCESS #Kitchen DEL Glen
/msg ChanServ ACCESS #Basement LIST
/msg ChanServ ACCESS #Basement VIEW 4,7
/msg ChanServ ACCESS #Basement CLEAR

Akick

Maintains the AutoKick list for a channel. If a user on the AutoKick list attempts to join the channel, ChanServ will ban that user from the channel, then kick the user.

Syntax

/msg ChanServ AKICK #channel_name ADD Nick_or_hostmask Optional_Reason 
Adds the given nick or usermask to the AutoKick list. If a reason is given with the command, that reason will be used when the user is kicked; if not, the default reason is "User has been banned from the channel".
When akicking a registered nick the NickServ account will be added to the akick list instead of the mask. All users within that nickgroup will then be akicked.
/msg ChanServ AKICK #channel_name DEL Nick_or_hostmask_or_entry-Number_or_list 
Removes the given nick or mask from the AutoKick list. It does not, however, remove any bans placed by an AutoKick; those must be removed manually.
/msg ChanServ AKICK #channel_name LIST optional_nick_or_hostmask_or_list 
Displays the AutoKick list, or optionally only those AutoKick entries which match the given mask.
/msg ChanServ AKICK #channel_name VIEW Optional_nick_or_hostmask_or_entry_number_or_list 
A more verbose version of the AKICK LIST command.
/msg ChanServ AKICK #channel_name ENFORCE 
Causes ChanServ to enforce the current AKICK list by removing those users who match an AKICK mask.
/msg ChanServ AKICK #channel_name CLEAR 
Clears all entries of the akick list.

Examples

/msg ChanServ AKICK #nightmare ADD Dream_walker Bad person
/msg ChanServ AKICK #nightmare DEL Freddy
/msg ChanServ AKICK #nightmare LIST 1-4
/msg ChanServ AKICK #kitchen VIEW
/msg ChanServ AKICK #Bedroom ENFORCE
/msg ChanServ AKICK #house CLEAR

Aop

[Un]Ban

Clone

Down

Drop

Enforce

Entrymsg

Flags

Getkey

[De]Halfop

Help

Hop

Info

Invite

Kick

Levels

List

Log

Mode

[De]Op

[De]Owner

[De]Protect

Qop

Register

Registers a channel in the ChanServ database. In order to use this command, you must first be a channel operator on the channel you're trying to register. The description, which is optional, is a general description of the channel's purpose.

When you register a channel, you are recorded as the "founder", also called the "owner" of the channel. The channel founder is allowed to change all of the channel settings for the channel; ChanServ will also automatically give the founder channel-operator privileges when s/he enters the channel.

See the ACCESS command (/msg ChanServ HELP ACCESS) for information on giving a subset of these privileges to other channel users.

NOTICE
: In order to register a channel, you must have first registered your nickname, and must have channel op status in the channel.

Syntax

/msg ChanServ REGISTER #channel_name Description_of_channel

Examples

/msg ChanServ REGISTER #Bedroom Where evil happens in your dreams!

Set

Sop

Status

[Un]Suspend

Sync

Topic

Up

[De]Voice

Vop