<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/12920" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2008-12-19T14:53:44-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/12920</id>

		<entry>
		<author><name><![CDATA[holycrap]]></name></author>
		<updated>2008-12-19T14:53:44-04:00</updated>

		<published>2008-12-19T14:53:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86379#p86379</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86379#p86379"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86379#p86379"><![CDATA[
@ DragnLord<br><br>So, how would you do this? Notice the user with first offense "don't use /ame" and ban them the second time with a message "you have been warned."<br><br>Thanks!<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9651">holycrap</a> — Fri Dec 19, 2008 2:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2008-06-29T01:06:29-04:00</updated>

		<published>2008-06-29T01:06:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83795#p83795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83795#p83795"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83795#p83795"><![CDATA[
Dragonlord message: <blockquote class="uncited"><div>the following will give the user a global ban, and kick the person from all channels the bot is on with that nick </div></blockquote>i mean only work with one channel not all channels where the bot is on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sun Jun 29, 2008 1:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-06-28T08:50:53-04:00</updated>

		<published>2008-06-28T08:50:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83769#p83769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83769#p83769"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83769#p83769"><![CDATA[
<blockquote class="uncited"><div>Hi, anyone can help me this script work only on one channel not global... thanks in advance  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"></div></blockquote>It bans if a user does multiple actions within the same channel or different channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 28, 2008 8:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2008-06-28T00:54:01-04:00</updated>

		<published>2008-06-28T00:54:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83762#p83762</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83762#p83762"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83762#p83762"><![CDATA[
Hi, anyone can help me this script work only on one channel not global... thanks in advance  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sat Jun 28, 2008 12:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-01-06T09:09:03-04:00</updated>

		<published>2007-01-06T09:09:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69506#p69506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69506#p69506"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69506#p69506"><![CDATA[
<blockquote class="uncited"><div>how to change the ban type to *!*@10.0.0.2 or *!*@host.domain.com</div></blockquote><div class="codebox"><p>Code: </p><pre><code>newban *!*@[lindex [split $u @] 1] ${::botnet-nick} "ameban" 60</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat Jan 06, 2007 9:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fredvil]]></name></author>
		<updated>2007-01-06T02:44:35-04:00</updated>

		<published>2007-01-06T02:44:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69498#p69498</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69498#p69498"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69498#p69498"><![CDATA[
you got it user... u the man.. thanks a lot...<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>one more thing user... how to change the ban type to *!*@10.0.0.2 or *!*@host.domain.com<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7056">fredvil</a> — Sat Jan 06, 2007 2:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-01-05T23:43:01-04:00</updated>

		<published>2007-01-05T23:43:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69495#p69495</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69495#p69495"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69495#p69495"><![CDATA[
try the edited version<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Jan 05, 2007 11:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fredvil]]></name></author>
		<updated>2007-01-05T23:00:51-04:00</updated>

		<published>2007-01-05T23:00:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69493#p69493</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69493#p69493"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69493#p69493"><![CDATA[
hi user... got this error.. pls help thanks<br><div class="codebox"><p>Code: </p><pre><code>[11:00] Tcl error [ameban]: can't read "c": no such variable</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7056">fredvil</a> — Fri Jan 05, 2007 11:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-01-05T13:08:59-04:00</updated>

		<published>2007-01-05T13:08:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69482#p69482</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69482#p69482"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69482#p69482"><![CDATA[
the following will give the user a global ban, <strong class="text-strong">and</strong> kick the person from all channels the bot is on with that nick<br><br>(tested)<br><div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time in minutes# use 0 to make permset actban 10 bind ctcp - ACTION ban:actproc ban:act { nick uhost hand dest key text } {  #uncomment next line to exclude chanops  #if [!isop $nick] return  newban *!$uhost $::botnick action_ban $::actban  foreach chan [channels] {    if [onchan $nick $chan] { putquick "KICK $chan $nick" }    }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Jan 05, 2007 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-01-05T11:19:32-04:00</updated>

		<published>2007-01-05T11:19:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69481#p69481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69481#p69481"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69481#p69481"><![CDATA[
This will ban any user for using actions.<br>Included an option to exclude chanops from banning.<br><div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time# use 0 to make permset actban 10bind ctcp - ACTION ban:actproc ban:act { nick uhost hand dest key text } {  #uncomment next line to exclude chanops  #if [!isop $nick] return  newban *!$uhost $::botnick action_ban $::actban            }</code></pre></div>[ edited to correct global ]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Jan 05, 2007 11:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-01-06T17:31:04-04:00</updated>

		<published>2007-01-05T10:30:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69479#p69479</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69479#p69479"/>
		<title type="html"><![CDATA[Re: anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69479#p69479"><![CDATA[
<blockquote class="uncited"><div>does anyone here know a script that will ban user that uses action /ame.<br><br>example if bot and nick are on 2 channels and when the nick uses /ame the bot will ban him/her.<br><br>thanks a lot</div></blockquote>/ame is not a irc command, but a client "feature" sending multiple ctcp ACTIONs, so there's no way to detect the difference between /ame and multiple /me's <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> The best you can do is guess...here's a script that will ban any user doing the same action two times in a row within 5 seconds.<div class="codebox"><p>Code: </p><pre><code>bind ctcp - ACTION ameban proc ameban {n u h t a b} {if {[validchan $t]&amp;&amp;![matchattr $h nmof|mnof $t]} {global amebanset id $n!$uif {[info exists ameban($id)]} {if {$ameban($id)==$b} {newban [lindex [split $u @] 1] ${::botnet-nick} "ameban" 60return} {killtimer $ameban($id,timer)}}set ameban($id) $bset ameban($id,timer) [utimer 5 "unset [list ameban($id)]; unset [list ameban($id,timer)]"]}}</code></pre></div>(not tested)<br>EDIT2: variable name<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Jan 05, 2007 10:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fredvil]]></name></author>
		<updated>2007-01-05T09:42:30-04:00</updated>

		<published>2007-01-05T09:42:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69478#p69478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69478#p69478"/>
		<title type="html"><![CDATA[anti action /ame]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69478#p69478"><![CDATA[
does anyone here know a script that will ban user that uses action /ame.<br><br>example if bot and nick are on 2 channels and when the nick uses /ame the bot will ban him/her.<br><br>thanks a lot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7056">fredvil</a> — Fri Jan 05, 2007 9:42 am</p><hr />
]]></content>
	</entry>
	</feed>
