<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.anope.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fcs_akick</id>
		<title>2.0/Modules/cs akick - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fcs_akick"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/cs_akick&amp;action=history"/>
		<updated>2026-05-09T17:36:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.4</generator>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/cs_akick&amp;diff=619&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/cs_akick}} {{Syntax|cs_akick|ChanServ|Anope}}  == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == Maintains the AutoKick list for a channel.  If a user o...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/cs_akick&amp;diff=619&amp;oldid=prev"/>
				<updated>2014-05-06T15:12:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/cs_akick}} {{Syntax|cs_akick|ChanServ|Anope}}  == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == Maintains the AutoKick list for a channel.  If a user o...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|2.0/Modules/cs_akick}}&lt;br /&gt;
{{Syntax|cs_akick|ChanServ|Anope}}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; ==&lt;br /&gt;
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&lt;br /&gt;
the user.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Commands&amp;lt;/div&amp;gt; ==&lt;br /&gt;
;AKICK channel ADD {nick | mask} [reason]&lt;br /&gt;
:The AKICK ADD command 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 &amp;quot;User has been banned from the channel&amp;quot;. 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.&lt;br /&gt;
;AKICK channel DEL {nick | mask | entry-num | list}&lt;br /&gt;
:The AKICK DEL command 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.&lt;br /&gt;
;AKICK channel LIST [mask | entry-num | list]&lt;br /&gt;
:The AKICK LIST command displays the AutoKick list, or optionally only those AutoKick entries which match the given mask.&lt;br /&gt;
;AKICK channel VIEW [mask | entry-num | list]&lt;br /&gt;
:The AKICK VIEW command is a more verbose version of the AKICK LIST command.&lt;br /&gt;
;AKICK channel ENFORCE&lt;br /&gt;
:The AKICK ENFORCE command causes ChanServ to enforce the current AKICK list by removing those users who match an AKICK mask.&lt;br /&gt;
;AKICK channel CLEAR&lt;br /&gt;
:The AKICK CLEAR command clears all entries of the akick list. &lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Examples&amp;lt;/div&amp;gt; ==&lt;br /&gt;
/msg ChanServ AKICK #myChannel ADD *Fred@*.example.com Idiot&lt;br /&gt;
&lt;br /&gt;
/msg ChanServ AKICK #myChannel DEL *Fred@*.example.com&lt;br /&gt;
&lt;br /&gt;
/msg ChanServ AKICK #myChannel LIST 1-12&lt;br /&gt;
&lt;br /&gt;
/msg ChanServ AKICK #myChannel ENFORCE&lt;br /&gt;
&lt;br /&gt;
/msg ChanServ AKICK #myChannel CLEAR&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Default Configuration&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * cs_akick&lt;br /&gt;
 *&lt;br /&gt;
 * Provides the command chanserv/akick.&lt;br /&gt;
 *&lt;br /&gt;
 * Used for preventing users from joining channels.&lt;br /&gt;
 */&lt;br /&gt;
module&lt;br /&gt;
{&lt;br /&gt;
        name = &amp;quot;cs_akick&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The maximum number of entries on a channel's autokick list.&lt;br /&gt;
         */&lt;br /&gt;
        autokickmax = 32&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The default reason for an autokick if none is given.&lt;br /&gt;
         */&lt;br /&gt;
        autokickreason = &amp;quot;User has been banned from the channel&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
command { service = &amp;quot;ChanServ&amp;quot;; name = &amp;quot;AKICK&amp;quot;; command = &amp;quot;chanserv/akick&amp;quot;; group = &amp;quot;chanserv/management&amp;quot;; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	</feed>