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

	<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>2007-02-21T09:34:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-02-21T09:34:48-04:00</updated>

		<published>2007-02-21T09:34:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70601#p70601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70601#p70601"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70601#p70601"><![CDATA[
thx for clearing that up. I should have been more precise. here's the corrected version:<br><blockquote class="uncited"><div>same thing <br><br>I still think the problem is the bot checking itslef for beeing idle <strong class="text-strong">on that chan</strong>. another bot checking it gives me the actual idle-time <strong class="text-strong">on that chan</strong>. my bot checking itself gives me the uptime. <br><br>-typ-</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Wed Feb 21, 2007 9:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-02-21T08:12:48-04:00</updated>

		<published>2007-02-21T08:12:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70599#p70599</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70599#p70599"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70599#p70599"><![CDATA[
You just don't understand what getchanidle does. It returns the time in minutes how much the bot has been idle on that channel and has nothing to do with the idle info in the whois reply.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Feb 21, 2007 8:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-02-21T06:58:04-04:00</updated>

		<published>2007-02-21T06:58:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70598#p70598</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70598#p70598"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70598#p70598"><![CDATA[
same thing<br><br><br>I still think the problem is the bot checking itslef for beeing idle. another bot checking it gives me the actual idle-time. my bot checking itself gives me the uptime.<br><br>-typ-<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Wed Feb 21, 2007 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-02-20T20:08:28-04:00</updated>

		<published>2007-02-20T20:08:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70589#p70589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70589#p70589"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70589#p70589"><![CDATA[
Try the edited code above.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 20, 2007 8:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-02-20T16:26:20-04:00</updated>

		<published>2007-02-20T16:26:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70586#p70586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70586#p70586"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70586#p70586"><![CDATA[
hi,<br><br>thx. but I have the same problem with your code. it seems like the problem exists because the bot checks its own ilde-time.<br><br>-typ-<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Tue Feb 20, 2007 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-02-20T20:07:03-04:00</updated>

		<published>2007-02-20T14:16:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70583#p70583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70583#p70583"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70583#p70583"><![CDATA[
Try<div class="codebox"><p>Code: </p><pre><code>bind time - * check:idleproc check:idle args { set mainchan "#Quiz.de" set idlebot "MowlBot" if {[getchanidle $idlebot $mainchan] &gt;= 10} {   putquick "PRIVMSG $mainchan :tescht" }}</code></pre></div>This checks if idle is equal or greater than 10 minutes.<br><br>Edit: Fixed the code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 20, 2007 2:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-02-20T12:04:55-04:00</updated>

		<published>2007-02-20T12:04:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70579#p70579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70579#p70579"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70579#p70579"><![CDATA[
I changed the whole thing to this:<br><div class="codebox"><p>Code: </p><pre><code>bind time - * check:idleproc check:idle {args} { set idle_1 "1"set mainchan "#Quiz.de"set idlebot "MowlBot"set idle_idle "[getchanidle $idlebot $mainchan]"if {$idle_idle &gt; $idle_1} {moxquiz_pub_allstarstyp}}proc moxquiz_pub_allstarstyp {args} {putquick "PRIVMSG #Quiz.de :tescht"}</code></pre></div><br>But the PRIVMSG is shown if the bot doesn't idles as well. =/<br><br>Any input is welcome.<br><br>thx,<br><br>typ<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Tue Feb 20, 2007 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-02-19T10:44:58-04:00</updated>

		<published>2007-02-19T10:44:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70547#p70547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70547#p70547"/>
		<title type="html"><![CDATA[simple anti idle]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70547#p70547"><![CDATA[
Hi,<br><br>I extracted the following script from an anti-idle script. Unfortunally it also exectutes when the bot hasn't idled but every 30 min. I could use some help on how to change that. <br><br>thx,<br><br>-typ-<br><br><br><div class="codebox"><p>Code: </p><pre><code>timer 30 moxquiz_pub_allstarstypproc moxquiz_pub_allstarstyp {} {        set arg 10        set mirror "#Quiz.de"    mx_spit_allstars "PRIVMSG" $mirror $argtimer 30 moxquiz_pub_allstarstyp}</code></pre></div><br>/edit:<br><br>could I use "getchanidle"?<br><br>I tried:<br><div class="codebox"><p>Code: </p><pre><code>set idle_1 "1"set mainchan "#channel"set idlebot "Botnick"set idle_idle "[getchanidle $idlebot $mainchan]"if {$idle_idle &gt; $idle_1} {idle_bind}proc idle_bind {handle idx arg} { ... }</code></pre></div>but it didn't work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Mon Feb 19, 2007 10:44 am</p><hr />
]]></content>
	</entry>
	</feed>
