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

	<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-02-13T09:47:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-02-13T09:47:52-04:00</updated>

		<published>2008-02-13T09:47:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80850#p80850</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80850#p80850"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80850#p80850"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chanset #chan +enforcebans</code></pre></div>?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Feb 13, 2008 9:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[opsb]]></name></author>
		<updated>2008-02-12T21:53:30-04:00</updated>

		<published>2008-02-12T21:53:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80839#p80839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80839#p80839"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80839#p80839"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[02:50:05] * eggBot (eggbot@eggdrop.dedica.org) has joined #pomoc[02:50:06] ChanServ set[s] mode[s]: +o eggBot[02:51:24] eggBot set[s] mode[s]: -o+b Apollo *!Apollo@levat.dedica.org[02:51:26] eggBot set[s] mode[s]: +b *!~br0nx@BB38BD7D.B92574B6.945CAD23.IP[02:51:28] eggBot set[s] mode[s]: +b *!docs@docs.dedica.org</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9270">opsb</a> — Tue Feb 12, 2008 9:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-02-06T12:43:29-04:00</updated>

		<published>2008-02-06T12:43:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80690#p80690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80690#p80690"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80690#p80690"><![CDATA[
Could you tell me the setting for "strict-hosts", and also, did you notice any pattern with kicks/bans and wether the users ident is prefixed with ~, -, +, =, or ^.<br><br>I would argue that the source of this issue is not within aidle:checkidle, but rather aidle:punish since the eggdrop reacts on all, but behaves differently on different offenders.<br>Only banning would be consistent with eggdrop not properly detecting a matching internal ban - often caused by improper bans with "strict-host".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Feb 06, 2008 12:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-02-06T09:41:10-04:00</updated>

		<published>2008-02-06T09:41:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80682#p80682</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80682#p80682"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80682#p80682"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc aidle:checkidle { min hour day month year } {    foreach chan [channels] {       if {![channel get $chan "maxidle"]} {continue}       foreach nick [chanlist $chan] {          if {[getchanidle $nick $chan] &gt; [channel get $chan "maxidle"]} {          aidle:punish $chan $nick [channel get $chan "maxidle"]          }       }    } }</code></pre></div>When the bot is required to kick/ban ops/voice/halfops then you don't need to put it in the script so make it less confusing. Try with this code I hope it should work fine <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>peace<br>death<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Wed Feb 06, 2008 9:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[opsb]]></name></author>
		<updated>2008-02-06T02:29:38-04:00</updated>

		<published>2008-02-06T02:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80672#p80672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80672#p80672"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80672#p80672"><![CDATA[
Again same but just for some nicks..<br><br>Some nicks are kicked-banned, and other just banned, and that's all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9270">opsb</a> — Wed Feb 06, 2008 2:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maiki]]></name></author>
		<updated>2008-02-04T07:49:41-04:00</updated>

		<published>2008-02-04T07:49:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80626#p80626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80626#p80626"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80626#p80626"><![CDATA[
Try this proc=<br><div class="codebox"><p>Code: </p><pre><code>proc aidle:checkidle { min hour day month year } {global botnick flags kickop kickhalfop kickvoice   foreach chan [channels] {      if {![channel get $chan "maxidle"]} {continue}      foreach nick [chanlist $chan] {         if {$nick == $botnick} {continue}         if {[isop $nick $chan] &amp;&amp; $kickop == "1"} {continue}         if {[ishalfop $nick $chan] &amp;&amp; $kickhalfop == "1"} {continue}         if {[isvoice $nick $chan] &amp;&amp; $kickvoice == "1"} {continue}         if {[matchattr [nick2hand $nick] $flags] == "1"} {continue}         if {[getchanidle $nick $chan] &gt; [channel get $chan "maxidle"]} { aidle:punish $chan $nick [channel get $chan "maxidle"] }      }   }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9009">Maiki</a> — Mon Feb 04, 2008 7:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[opsb]]></name></author>
		<updated>2008-02-04T06:07:06-04:00</updated>

		<published>2008-02-04T06:07:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80623#p80623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80623#p80623"/>
		<title type="html"><![CDATA[script won't kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80623#p80623"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>### Anti-Idle v1.2### by Progeny &lt;progeny@azzurra.org&gt;### irc.azzurra.org - #EggHelp# - Using -# Type in partyline:# .chanset #channel maxidle &lt;time in minutes&gt;# If set 0 channel's check will be ignored.# Punishing method (1 = Kick, 2 = Kick/Ban)set pmethod 2# Ban time in minutes.set bantime 6# Kick's reasonset aidlereason "Presli ste limit dopustenog idle vremena na kanalu #pomoc"# Exception's flagsset flags f|f# Kick op? (0 = Yes, 1 = No)set kickop 1# Kick halfop? (0 = Yes, 1 = No)set kickhalfop 1# Kick voice? (0 = Yes, 1 = No)set kickvoice 1# Check for idling users every minutes.bind time - * aidle:checkidlesetudef int maxidleproc aidle:checkidle { min hour day month year } {global botnick flags kickop kickhalfop kickvoiceforeach 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 {([ishalfop $nick $chan]) &amp;&amp; ($kickhalfop)} {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"]} {aidle:punish $chan $nick [channel get $chan "maxidle"]}}}}proc aidle:punish { channel nick idletime } {global pmethod aidlereason bantimeregsub -all "%idletime" $aidlereason $idletime aidlereasonswitch $pmethod {1 { putserv "KICK $channel $nick :$aidlereason" }2 { newchanban $channel "*![getchanhost $nick]" "Anti-Idle" $aidlereason $bantime }}}putlog "Anti-Idle v1.2 loaded"</code></pre></div>I'm now using this script<br>I've edited it for these lines <br><div class="codebox"><p>Code: </p><pre><code># Kick halfop? (0 = Yes, 1 = No)set kickhalfop 1</code></pre></div>and <br><div class="codebox"><p>Code: </p><pre><code>if {([ishalfop $nick $chan]) &amp;&amp; ($kickhalfop)} {continue}</code></pre></div>Firstly, it worked.. but now.. script won't kick from channel, just ban and that's all<br><br>thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9270">opsb</a> — Mon Feb 04, 2008 6:07 am</p><hr />
]]></content>
	</entry>
	</feed>
