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

	<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>2003-07-01T22:51:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2003-07-01T22:51:47-04:00</updated>

		<published>2003-07-01T22:51:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22865#p22865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22865#p22865"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22865#p22865"><![CDATA[
Eggdrop isn't really good at cycling channels frequently because it requests and processes a lot of info every time it joins, and can get confused if it's too rapid. You might want to try the following which is a bit milder:<br><div class="codebox"><p>Code: </p><pre><code>proc partchan1 {} {  if {[validchan #channel] &amp;&amp; [botonchan #channel]} {    channel set #channel +inactive    utimer 5 partchan2  }}proc partchan2 {} {  channel set #channel -inactive  utimer 55 partchan1}if {![string match *partchan1* [utimers]]} {  timer 55 partchan1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Tue Jul 01, 2003 10:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[forever79]]></name></author>
		<updated>2003-07-01T18:22:13-04:00</updated>

		<published>2003-07-01T18:22:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22844#p22844</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22844#p22844"/>
		<title type="html"><![CDATA[:(]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22844#p22844"><![CDATA[
i try to this code<br><div class="codebox"><p>Code: </p><pre><code>bind time - * partchan proc partchan { args } { puthelp "PART #channel" } </code></pre></div>and <br><div class="codebox"><p>Code: </p><pre><code>bind time - * partchan proc partchan { args } {    putserv "PART #channel"    utimer 1 [list putserv "JOIN #channel"] }</code></pre></div>[00:15] *** Joins: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:16] *** Parts: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:16] *** Joins: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:17] *** Parts: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:17] *** Joins: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>.<br>.<br>.<br>[00:39] *** Parts: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:39] *** Joins: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:40] *** Parts: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br>[00:40] *** Joins: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)<br><strong class="text-strong">[00:41] *** Parts: CirkinBOT (<a href="mailto:cirkin@212.115.39.E-Kolay-3148">cirkin@212.115.39.E-Kolay-3148</a>)</strong><br><br>and its not joined to #chan<br><br>i use only this script with mybot<br>noadverisonme.tcl<div class="codebox"><p>Code: </p><pre><code>bind msgm - * pv_kickproc pv_kick {nick uhost hand text} {global botnick spambantime##  i think u dont need to change anything below ##  the bot will kickban if someone private message bot said words with "#" , "join" ,"channel" .etc ##  if u want change please make sure you cannot put "*words*" . "*" or "?" will make the tcl didn`t workif {[regexp -nocase "" $text] &gt; 0} {   foreach kickchan [channels] {    if {![isop $nick $kickchan] || ![isvoice $nick $kickchan]} {          if {[onchan $nick $kickchan]} {            set bmask "*!*[string range $uhost [string first "@" $uhost] end]"         if {![ischanban $bmask $kickchan] || [botisop $kickchan]} {               set kickmsg "\00312\002\037Cause\037:\002 Mass-Msg/Invite/Adv/Trojan Send\00312"                 putquick "KICK $kickchan $nick :$kickmsg"               newchanban $kickchan $bmask $botnick Mass-Msg $spambantime             }       }    }}}}putlog "loaded noadvertiseonme.tcl version 1.0 By Silveryo or _andy_"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3368">forever79</a> — Tue Jul 01, 2003 6:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-01T10:19:33-04:00</updated>

		<published>2003-07-01T10:19:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22816#p22816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22816#p22816"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22816#p22816"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time - * partchanproc partchan { args } { putserv "PART #channel" utimer 1 [list putserv "JOIN #channel"]}</code></pre></div>this should work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Jul 01, 2003 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-01T03:46:04-04:00</updated>

		<published>2003-07-01T03:46:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22802#p22802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22802#p22802"/>
		<title type="html"><![CDATA[Re: cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22802#p22802"><![CDATA[
<blockquote class="uncited"><div><strong class="text-strong">after 20 minute bot part chan and its not join chan.</strong></div></blockquote>I don't know what eggdrop really is doing, but i thought maybe it doesn't join after 20 retries... if this is true, JOIN would help.<p>Statistics: Posted by Guest — Tue Jul 01, 2003 3:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-01T03:28:21-04:00</updated>

		<published>2003-07-01T03:28:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22801#p22801</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22801#p22801"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22801#p22801"><![CDATA[
<blockquote class="uncited"><div>Oh... didn't know that EggDrop overrides commands... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br>Well then, I see, if you want to cycle the bot, you must put a JOIN after the PART, I would say...</div></blockquote>Usually eggdrop will automatically rejoin the channel once it notices it has parted the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Jul 01, 2003 3:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-01T03:27:19-04:00</updated>

		<published>2003-07-01T03:27:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22800#p22800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22800#p22800"/>
		<title type="html"><![CDATA[Re: cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22800#p22800"><![CDATA[
<blockquote class="uncited"><div><strong class="text-strong">proc partchan1 { } { <br>putserv "part #ayna" <br>timer 1 partchan1 <br>} <br>timer 1 partchan1</strong><br><br>i use this command, after 20 minute bot part chan and its not join chan.<br>Server says I'm not on channel: #ayna<br><br>what am i doing ?<br>i want to <br>my bot,  cycle every 1 minute</div></blockquote>Is the channel already on the bots channel list?<br><br>An alternative way is to use a bind time:<br><div class="codebox"><p>Code: </p><pre><code>bind time - * partchanproc partchan { args } { puthelp "PART #channel" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Jul 01, 2003 3:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-01T03:26:52-04:00</updated>

		<published>2003-07-01T03:26:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22799#p22799</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22799#p22799"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22799#p22799"><![CDATA[
Oh... didn't know that EggDrop overrides commands... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br>Well then, I see, if you want to cycle the bot, you must put a JOIN after the PART, I would say...<p>Statistics: Posted by Guest — Tue Jul 01, 2003 3:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-07-01T03:21:42-04:00</updated>

		<published>2003-07-01T03:21:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22798#p22798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22798#p22798"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22798#p22798"><![CDATA[
<blockquote class="uncited"><div>Read a tcl documentation... "timer" is not what you want to do.<br>You must use "after 60000 partchan1" instead of "timer 1 partchan1".</div></blockquote>Fips, have you had a look at docs/tcl-commands.doc?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Jul 01, 2003 3:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-01T03:13:47-04:00</updated>

		<published>2003-07-01T03:13:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22797#p22797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22797#p22797"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22797#p22797"><![CDATA[
Read a tcl documentation... "timer" is not what you want to do.<br>You must use "after 60000 partchan1" instead of "timer 1 partchan1".<p>Statistics: Posted by Guest — Tue Jul 01, 2003 3:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[forever79]]></name></author>
		<updated>2003-06-30T16:55:01-04:00</updated>

		<published>2003-06-30T16:55:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22767#p22767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22767#p22767"/>
		<title type="html"><![CDATA[cycle every 1 minute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22767#p22767"><![CDATA[
<strong class="text-strong">proc partchan1 { } { <br>putserv "part #ayna" <br>timer 1 partchan1 <br>} <br>timer 1 partchan1</strong><br><br>i use this command, after 20 minute bot part chan and its not join chan.<br>Server says I'm not on channel: #ayna<br><br>what am i doing ?<br>i want to <br>my bot,  cycle every 1 minute<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3368">forever79</a> — Mon Jun 30, 2003 4:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
