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

	<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-03-01T13:50:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[edu]]></name></author>
		<updated>2007-03-01T13:50:51-04:00</updated>

		<published>2007-03-01T13:50:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70861#p70861</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70861#p70861"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70861#p70861"><![CDATA[
Try: .chanset &lt;#channel&gt; +maxidle &lt;time&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8324">edu</a> — Thu Mar 01, 2007 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2007-02-26T03:26:47-04:00</updated>

		<published>2007-02-26T03:26:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70756#p70756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70756#p70756"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70756#p70756"><![CDATA[
I hate to admit this but works just great here it is why I suggested it. Maybe more info so these good people can diagnose your problem ?<br>Good luck<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Mon Feb 26, 2007 3:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-02-26T01:18:56-04:00</updated>

		<published>2007-02-26T01:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70753#p70753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70753#p70753"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70753#p70753"><![CDATA[
<blockquote class="uncited"><div>EVen did that</div></blockquote>Did you do as instructed?  chanset, configured, etc..<br><br># Punishing method (1 = Kick, 2 = Kick/Ban)<br>set pmethod 1<br># Ban time in minutes.<br>set bantime 1<br># Kick's reason<br>set aidlereason "E` vietato sostare per piu` di %idletime minuti nel canale."<br># Exception's flags<br>set flags f|f<br># Kick op? (0 = Yes, 1 = No)<br>set kickop 1<br># Kick voice? (0 = Yes, 1 = No)<br>set kickvoice 1<br><br><br><br>I noticed the script does not trigger on the 1st scan, but does on subsequent scans. In any event, you could always put some "putcmdlog" lines into the script to show that it is in fact working:<br><div class="codebox"><p>Code: </p><pre><code>proc aidle:checkidle { min hour day month year } {global botnick flags kickop kickvoice        putcmdlog "aidle check running.."        foreach chan [channels] {                if {![channel get $chan "maxidle"]} {continue}                foreach nick [chanlist $chan] {                        if {$nick == $botnick} {continue}                        if {([isop $nick $chan]) &amp;&amp; ($kickop)} {continue}                        if {([isvoice $nick $chan]) &amp;&amp; ($kickvoice)} {continue}                        if {[matchattr [nick2hand $nick] $flags] == 1} {continue}                        if {[getchanidle $nick $chan] &gt; [channel get $chan "maxidle"]} {                        putcmdlog "aidle kicking $nick on $chan - idle [channel get $chan "maxidle"]"                        aidle:punish $chan $nick [channel get $chan "maxidle"]                        }                }        }}#########################################################################################################</code></pre></div>If it still doesn't work, then I dunno what to tell ya. BTW, there's an idle-kick option for channels built into eggdrop.  Try .help chaninfo and read about idle-kick,  and read .help chanset.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Feb 26, 2007 1:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-02-26T00:06:38-04:00</updated>

		<published>2007-02-26T00:06:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70752#p70752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70752#p70752"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70752#p70752"><![CDATA[
<blockquote class="uncited"><div>EVen did that</div></blockquote>Doubtful.<br><blockquote class="uncited"><div># - Using -<br># Type in partyline:<br># .chanset #channel maxidle <strong class="text-strong">&lt;time in minutes&gt;</strong><br># If set <span style="text-decoration:underline">0</span> channel's check will be <span style="text-decoration:underline">ignored</span>.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Feb 26, 2007 12:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2007-02-25T23:38:35-04:00</updated>

		<published>2007-02-25T23:38:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70751#p70751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70751#p70751"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70751#p70751"><![CDATA[
EVen did that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7195">vigilant</a> — Sun Feb 25, 2007 11:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-02-25T20:54:50-04:00</updated>

		<published>2007-02-25T20:54:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70746#p70746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70746#p70746"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70746#p70746"><![CDATA[
Worked for me when I tested it. Try reading the documentation for it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Feb 25, 2007 8:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2007-02-25T20:23:15-04:00</updated>

		<published>2007-02-25T20:23:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70744#p70744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70744#p70744"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70744#p70744"><![CDATA[
Simply nothing is being done.. it ignores everything i suppose,  no error info :S<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7195">vigilant</a> — Sun Feb 25, 2007 8:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-02-25T20:18:49-04:00</updated>

		<published>2007-02-25T20:18:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70742#p70742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70742#p70742"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70742#p70742"><![CDATA[
<blockquote class="uncited"><div>It doesn't work!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"></div></blockquote>.. and that really says a lot doesn't it?<br><br>Paste the result of '.set errorInfo'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Feb 25, 2007 8:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2007-02-25T20:15:29-04:00</updated>

		<published>2007-02-25T20:15:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70741#p70741</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70741#p70741"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70741#p70741"><![CDATA[
It doesn't work!  <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=7195">vigilant</a> — Sun Feb 25, 2007 8:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2007-02-25T19:19:06-04:00</updated>

		<published>2007-02-25T19:19:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70732#p70732</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70732#p70732"/>
		<title type="html"><![CDATA[Re: Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70732#p70732"><![CDATA[
<blockquote class="uncited"><div>Anyone whose willing to help me with making this tcl?<br>It should simply, grab the idle time of a user, if it's more than 2 minutes, it kicks/bans them out of the channel. I want to be able to set channel flags, like if the channel is, +antiidle it detects if not, then nothing.<br>Thanks   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"></div></blockquote>Does this do what you want?<br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=862" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=862</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Sun Feb 25, 2007 7:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2007-02-25T16:24:43-04:00</updated>

		<published>2007-02-25T16:24:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70726#p70726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70726#p70726"/>
		<title type="html"><![CDATA[Grab idle time, if ahead of it, ban.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70726#p70726"><![CDATA[
Anyone whose willing to help me with making this tcl?<br>It should simply, grab the idle time of a user, if it's more than 2 minutes, it kicks/bans them out of the channel. I want to be able to set channel flags, like if the channel is, +antiidle it detects if not, then nothing.<br>Thanks   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7195">vigilant</a> — Sun Feb 25, 2007 4:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
