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

	<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>2012-06-30T13:36:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2012-06-30T13:36:19-04:00</updated>

		<published>2012-06-30T13:36:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99653#p99653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99653#p99653"/>
		<title type="html"><![CDATA[Action repeat errors occured...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99653#p99653"><![CDATA[
Hi, need help with this it gives me an error on partyline:<blockquote class="uncited"><div> [23:39:42] Tcl error [ctcp_repeat]: invalid command name "ctcp_repeat"</div></blockquote><div class="codebox"><p>Code: </p><pre><code>set repeat_msg {"Kick message 1""Kick message 2"}set repeat_time 0set repeat_chans "#"bind pubm - * pubm_repeatbind ctcp - ACTION ctcp_repeatproc pubm_repeat {nick uhost hand chan arg} {global repeat_msg repeat_time repeat_chans repeat_data botnickif {(([lsearch -exact [string tolower $repeat_chans] [string tolower $chan]] != -1) &amp;&amp; ($repeat_chans == "*")) &amp;&amp; (![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; ($nick != $botnick)} {if {([info exists repeat_data($nick-$chan)]) &amp;&amp; ($repeat_data($nick-$chan) == $arg)} {set banmask "*!*@[lindex [split $uhost @] 1]"set kickmsg [lindex $repeat_msg [rand [llength $repeat_msg]]]newchanban $chan $banmask $nick $kickmsgunset repeat_data($nick-$chan)} else {set repeat_data($nick-$chan) $argutimer $repeat_time "catch {unset repeat_data([xsplit $nick-$chan])} 180"}}}proc ctcp_repeat {nick uhost hand chan keyword arg} {pubm_repeat $nick $uhost $hand $chan $arg}proc xsplit {arg} {regsub -all "\\\[" $arg "\\\[" argregsub -all "\\\]" $arg "\\\]" argreturn $arg}</code></pre></div>Thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sat Jun 30, 2012 1:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
