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

	<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>2008-05-28T04:30:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-28T04:30:51-04:00</updated>

		<published>2008-05-28T04:30:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83260#p83260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83260#p83260"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83260#p83260"><![CDATA[
It seems that there is no good idle-deop script <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Wed May 28, 2008 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-27T01:45:42-04:00</updated>

		<published>2008-05-27T01:45:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83238#p83238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83238#p83238"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83238#p83238"><![CDATA[
<blockquote class="uncited"><div>That's because getchanidle is not the same result as what the ircd server may report.</div></blockquote>I don't kow about the getchanidle, but the script is not working, the user<br>did not say something on the chan for about 10 minutes, still no deop comes..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Tue May 27, 2008 1:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2008-05-26T12:53:12-04:00</updated>

		<published>2008-05-26T12:53:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83230#p83230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83230#p83230"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83230#p83230"><![CDATA[
That's because getchanidle is not the same result as what the ircd server may report.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon May 26, 2008 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-26T02:54:12-04:00</updated>

		<published>2008-05-26T02:54:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83223#p83223</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83223#p83223"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83223#p83223"><![CDATA[
I'm testing now the script &amp; it seems that is not working<br><br># Idle time in minutes for ops. (set this to 0 to disable)<br>    variable idletime    2<br><br>*** Idle time for Lr_test (~test@???.8.41.74): 14mins 3secs<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Mon May 26, 2008 2:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-26T02:31:26-04:00</updated>

		<published>2008-05-26T02:31:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83222#p83222</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83222#p83222"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83222#p83222"><![CDATA[
<blockquote class="uncited"><div>I took the liberty to completely rewrite that script.<br><br><div class="codebox"><p>Code: </p><pre><code>namespace eval idle {    variable author    "metroid"    variable version   "1.0"        variable activechans [list #chan1 #chan2 #chan3];          # Idle time in minutes for ops. (set this to 0 to disable)    variable idletime    30        # Idle time in minutes for voiced users. (set this to 0 to disable)    variable idletime_v  10        # Nicknames that should always be excluded (the bot itself is always excluded)    variable exempt_nick [list somenick someother_nick]        # Botusers with these flags are also exempted    variable exempt_flag "f|f"        bind TIME -|- {* * * * *} [namespace current]::check}proc idle::check {args} {    foreach channel $idle::activechans {        if {!([validchan $channel] &amp;&amp; [botonchan $channel] &amp;&amp; [botisop $channel])} {            continue;        }                foreach user [chanlist $channel] {            if {[isbotnick $user]} {                continue;            }            if {[lsearch -exact $idle::exempt_nick $user]} {                continue;            }                        set handle [nick2hand $user];                        if {[validuser $handle] &amp;&amp; [matchattr $handle $idle::exempt_flag $channel]} {                continue;            }                        if {([isop $user $channel] &amp;&amp; $idle::idletime &amp;&amp; ([getchanidle $user $channel] &gt; $idle::idletime))} {                pushmode $channel -o $user            } elseif {([isvoice $user $channel] &amp;&amp; $idle::idletime_v &amp;&amp; ([getchanidle $user $channel] &gt; $idle::idletime_v))} {                pushmode $channel -v $user            }        }                flushmode $channel    }}putlog "Inactive op/voice remover loaded."</code></pre></div>[untested]</div></blockquote>good job metroid <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Is it possible to notice the user why he was deoped ?<br><br>-Bot- You $nick was deoped because...bla bla bla<br><br>?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Mon May 26, 2008 2:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2008-05-25T17:33:22-04:00</updated>

		<published>2008-05-25T17:33:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83213#p83213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83213#p83213"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83213#p83213"><![CDATA[
I took the liberty to completely rewrite that script.<br><br><div class="codebox"><p>Code: </p><pre><code>namespace eval idle {    variable author    "metroid"    variable version   "1.0"        variable activechans [list #chan1 #chan2 #chan3];          # Idle time in minutes for ops. (set this to 0 to disable)    variable idletime    30        # Idle time in minutes for voiced users. (set this to 0 to disable)    variable idletime_v  10        # Nicknames that should always be excluded (the bot itself is always excluded)    variable exempt_nick [list somenick someother_nick]        # Botusers with these flags are also exempted    variable exempt_flag "f|f"        bind TIME -|- {* * * * *} [namespace current]::check}proc idle::check {args} {    foreach channel $idle::activechans {        if {!([validchan $channel] &amp;&amp; [botonchan $channel] &amp;&amp; [botisop $channel])} {            continue;        }                foreach user [chanlist $channel] {            if {[isbotnick $user]} {                continue;            }            if {[lsearch -exact $idle::exempt_nick $user]} {                continue;            }                        set handle [nick2hand $user];                        if {[validuser $handle] &amp;&amp; [matchattr $handle $idle::exempt_flag $channel]} {                continue;            }                        if {([isop $user $channel] &amp;&amp; $idle::idletime &amp;&amp; ([getchanidle $user $channel] &gt; $idle::idletime))} {                pushmode $channel -o $user            } elseif {([isvoice $user $channel] &amp;&amp; $idle::idletime_v &amp;&amp; ([getchanidle $user $channel] &gt; $idle::idletime_v))} {                pushmode $channel -v $user            }        }                flushmode $channel    }}putlog "Inactive op/voice remover loaded."</code></pre></div>[untested]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sun May 25, 2008 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-24T06:03:02-04:00</updated>

		<published>2008-05-24T06:03:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83149#p83149</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83149#p83149"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83149#p83149"><![CDATA[
<blockquote class="uncited"><div>If your trying to do this on a network with services.....<br><a href="http://forum.egghelp.org/viewtopic.php?t=13262&amp;start=2" class="postlink">http://forum.egghelp.org/viewtopic.php?t=13262&amp;start=2</a><br>it's already been realized....  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"></div></blockquote>No, I need it for Undernet (X)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Sat May 24, 2008 6:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-05-23T11:32:56-04:00</updated>

		<published>2008-05-23T11:32:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83125#p83125</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83125#p83125"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83125#p83125"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>-Bot- Sorry, but I can't adduser myself.</code></pre></div><br>.+user Otherbotnick *!*@userbot.users.undernet.org<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Fri May 23, 2008 11:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-23T11:26:57-04:00</updated>

		<published>2008-05-23T11:26:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83124#p83124</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83124#p83124"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83124#p83124"><![CDATA[
If your trying to do this on a network with services.....<br><a href="http://forum.egghelp.org/viewtopic.php?t=13262&amp;start=2" class="postlink">http://forum.egghelp.org/viewtopic.php?t=13262&amp;start=2</a><br>it's already been realized....  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri May 23, 2008 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-23T10:46:22-04:00</updated>

		<published>2008-05-23T10:46:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83122#p83122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83122#p83122"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83122#p83122"><![CDATA[
-Bot- Sorry, but I can't adduser myself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Fri May 23, 2008 10:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-05-23T08:44:29-04:00</updated>

		<published>2008-05-23T08:44:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83120#p83120</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83120#p83120"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83120#p83120"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Set this to a flag you want to be exempt from checks.set IDLEOP(exempt) "E"</code></pre></div>solution:<br>add ur bot to userlist and get flag +E.<br><br>try.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Fri May 23, 2008 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-23T07:57:13-04:00</updated>

		<published>2008-05-23T07:57:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83119#p83119</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83119#p83119"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83119#p83119"><![CDATA[
<blockquote class="uncited"><div>Check this.<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=620" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=620</a></div></blockquote>I know this script, I've tested it already, The bot si deopind itself <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>*** Bot sets mode: -oo Bot tester`<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Fri May 23, 2008 7:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-05-23T05:52:52-04:00</updated>

		<published>2008-05-23T05:52:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83118#p83118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83118#p83118"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83118#p83118"><![CDATA[
Check this.<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=620" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=620</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Fri May 23, 2008 5:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-05-23T02:37:54-04:00</updated>

		<published>2008-05-23T02:37:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83116#p83116</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83116#p83116"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83116#p83116"><![CDATA[
Noop, it's not working, smb recommend a good idle-deop script psl!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Fri May 23, 2008 2:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-05-22T11:10:26-04:00</updated>

		<published>2008-05-22T11:10:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83097#p83097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83097#p83097"/>
		<title type="html"><![CDATA[Flag except on idle-deop doesn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83097#p83097"><![CDATA[
change<div class="codebox"><p>Code: </p><pre><code>if {![string match "*$user;*" $exclude_nicks] &amp;&amp; ![matchattr $userhand o|o $chan] || [matchattr $userhand f|f $chan]} {</code></pre></div>For<div class="codebox"><p>Code: </p><pre><code>if {![string match "*$user;*" $exclude_nicks] || [matchattr $userhand f|f $chan]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Thu May 22, 2008 11:10 am</p><hr />
]]></content>
	</entry>
	</feed>
