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

	<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>2005-05-17T21:39:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-05-17T21:39:43-04:00</updated>

		<published>2005-05-17T21:39:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49580#p49580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49580#p49580"/>
		<title type="html"><![CDATA[channel specefic on/off switch for the tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49580#p49580"><![CDATA[
Before:<div class="codebox"><p>Code: </p><pre><code>if [matchattr $hand f] {return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue May 17, 2005 9:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pakistani1]]></name></author>
		<updated>2005-05-17T20:07:04-04:00</updated>

		<published>2005-05-17T20:07:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49578#p49578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49578#p49578"/>
		<title type="html"><![CDATA[channel specefic on/off switch for the tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49578#p49578"><![CDATA[
hello !! <br>can some one plz help me put a channel specific [<span style="text-decoration:underline"><strong class="text-strong">.chanset #name  &lt;+/- &gt;repeat </strong></span> ] on/ off switch for the following repeat script <br>i put the setudef flag repeat line <br>but i do not know where to put the <br>if {![channel get $chan repeat]} { return 0 } line <br>thanx in advance <div class="codebox"><p>Code: </p><pre><code>setudef flag repeat set repeat-kick 3set redura 40set rekick "4Repeating Is Forbidden!!"bind pubm - * repeat_pubmproc repeat_pubm {nick uhost hand chan text} {if [matchattr $hand f] {return 0}global repeat_last repeat_num repeat-kick banm5 channel botnickglobal remask rekick reduraset remask *!*@[lindex [split [getchanhost $nick $chan] "@"] 1] if [info exists repeat_last([set n [string tolower $nick]])] {if {[string compare [string tolower $repeat_last($n)] \        [string tolower $text]] == 0} {if {[incr repeat_num($n)] &gt;= ${repeat-kick}} {if {[isop $nick $chan] == "0"} {putserv "MODE $chan +mib $remask"putserv "KICK $chan $nick :$rekick" utimer $redura "putserv {MODE $chan -mi}"unset repeat_last($n)unset repeat_num($n)}}return}}set repeat_num($n) 1set repeat_last($n) $text}bind nick - * repeat_nickproc repeat_nick {nick uhost hand chan newnick} {if [matchattr $hand f] {return 0}global repeat_last repeat_numcatch {set repeat_last([set nn [string tolower $newnick]]) \$repeat_last([set on [string tolower $nick]])}catch {unset repeat_last($on)}catch {set repeat_num($nn) $repeat_num($on)}catch {unset repeat_num($on)}}proc repeat_timr {} {global repeat_lastcatch {unset repeat_last}catch {unset repeat_num}timer 1 repeat_timr}if ![regexp repeat_timr [timers]] {     # tkotimer 1 repeat_timr}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6119">pakistani1</a> — Tue May 17, 2005 8:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
