<?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/8656" />

	<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>2004-11-24T17:53:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dotslasher]]></name></author>
		<updated>2004-11-24T17:53:03-04:00</updated>

		<published>2004-11-24T17:53:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43095#p43095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43095#p43095"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43095#p43095"><![CDATA[
well i'm using repeat.tcl (netbot version)  but this version had a nice warning/kick/ban (3strike) procedure. <br><br>btw it does have timers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3637">dotslasher</a> — Wed Nov 24, 2004 5:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-11-24T16:26:18-04:00</updated>

		<published>2004-11-24T16:26:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43085#p43085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43085#p43085"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43085#p43085"><![CDATA[
you need to keep repeat info on per channel basis, in different arrays<br><br>but this script seems naive to me, it doesn't have repeat timer/settings; I'd suggest you find another, properly implemented - there should be no shortage of antirepeat scripts, 90% of them would be crap, but still there must be good ones<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Nov 24, 2004 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-11-24T16:01:39-04:00</updated>

		<published>2004-11-24T16:01:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43083#p43083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43083#p43083"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43083#p43083"><![CDATA[
oops... disregard my previous posting, I now see what you mean<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Nov 24, 2004 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-11-24T15:58:33-04:00</updated>

		<published>2004-11-24T15:58:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43082#p43082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43082#p43082"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43082#p43082"><![CDATA[
on the contrary - it's that simple<br><br>your repeat_action proc binds to CTCP, that is, /ame and /amsg; I presume there is another handler proc for public channel messages<br><br>therefore, unbinding repeat_action will eliminate repeat check/punishment for /ame and /amsg only<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Nov 24, 2004 3:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dotslasher]]></name></author>
		<updated>2004-11-24T15:27:08-04:00</updated>

		<published>2004-11-24T15:27:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43080#p43080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43080#p43080"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43080#p43080"><![CDATA[
hehe its not that simple, i still want it to kick for repeat actions in a single chan, i just want it to allow amsgs because it sees an amsg to 3 chans where the script is activated as a repeat. <br><br>lil example:<br><br>#chan1 <br>[07:01] *person tests his amsg <br>#chan2<br>[07:01] *person tests his amsg <br>#chan3<br>[07:01] *person tests his amsg <br>[07:01] *Eggdrop kicks person from #chan3 (reason: No repeating)<br><br>---&gt; 3 repeats according to the script<br>this would have to be allowed.<br><br><br>now the following thing has to be disallowed.<br>#chan1<br>[07:01] *person tests his amsg <br>[07:01] *person tests his amsg <br>[07:01] *person tests his amsg <br>[07:01] *Eggdrop kicks person from #chan1 (reason: No repeating)<br><br>i hope i made myself clear this time <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3637">dotslasher</a> — Wed Nov 24, 2004 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-11-24T15:17:57-04:00</updated>

		<published>2004-11-24T15:17:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43079#p43079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43079#p43079"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43079#p43079"><![CDATA[
unbind repeat_action<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Nov 24, 2004 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dotslasher]]></name></author>
		<updated>2004-11-24T14:59:29-04:00</updated>

		<published>2004-11-24T14:59:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43078#p43078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43078#p43078"/>
		<title type="html"><![CDATA[[repeat code] need a change in an action check]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43078#p43078"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#---------------------------------------------------------------------------------------------# ACTION repeating (channel actions)#---------------------------------------------------------------------------------------------proc repeat_action {nick uhost hand dest keyword text} {  global botnick altnick repeat_last repeat_num repeatkick repeatmsg repeatban repeatbantime repeatonoff inuse timercalled  if {$repeatonoff([string tolower $dest]) == 0 } { return }  set type ""  set text [trimctrl $text]  if {$dest == $botnick || $dest == $altnick || [matchattr $hand f|f $dest]} {return 0}  if [info exists repeat_last([set n [string tolower $nick]])] {      # Tell other bots I'm handling (or check to see if its being handled.      set canprocess [check_handling 0]      if {$canprocess == 1} { return 1 }      set inuse 1           if {[string compare [string tolower $repeat_last($n)] [string tolower $text]] == 0} {            set type "EXACT MATCH"            repeat_dostuff $nick $uhost $hand $dest $text $n $type            set repeat_last($n) $text            clear_handling            return         } \         elseif {[mask_check $n $text [string tolower $repeat_last($n)]] == 1} {            set type "Mask check FAIL"            repeat_dostuff $nick $uhost $hand $dest $text $n $type            set repeat_last($n) $text            clear_handling            return         } \         elseif {[letter_check $n $text $dest [string tolower $repeat_last($n)] 1 ""] == 1} {            set type "Letter check FAIL"            repeat_dostuff $nick $uhost $hand $dest $text $n $type            set repeat_last($n) $text            clear_handling            return         }       if {$timercalled == 1} {         catch {unset repeat_last}         catch {unset repeat_num}         set timercalled 0      }      set inuse 0            # Clear "Im handling" botflags      clear_handling  }  set repeat_num($n) 1  set repeat_last($n) $text}</code></pre></div>script comes from: <a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-repeat-Darren-Coleman.htm" class="postlink">http://www.egghelp.org/tclhtml/3478-4-0 ... oleman.htm</a><br><br>now here is the question: i was wondering what i should change for the script to stop kicking/checking for amsgs/ame, and only check for repeats per channel. Cus i dont wanna kick/ban on an /amsg or when some1 goes away and it does an  /ame with his away reason.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3637">dotslasher</a> — Wed Nov 24, 2004 2:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
