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

	<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-06-09T09:43:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-09T09:43:09-04:00</updated>

		<published>2003-06-09T09:43:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21496#p21496</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21496#p21496"/>
		<title type="html"><![CDATA[IDLE deop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21496#p21496"><![CDATA[
I find the good code but my eggdrop deop her ! <div class="codebox"><p>Code: </p><pre><code>set idle(max) "2"bind raw - 317 event:idleproc event:idle  {from keyword text} {global botnick idle      set idle(nick) [lindex $text 1]          set idle(instant) [lindex $text 2] if {$idle(max) &lt; $idle(instant)} {  foreach chan [channels] {   if {![isop $idle(nick) $chan]} { return 0 }   if {![string match "$botnick" $idle(nick)]} {           if {[onchan $idle(nick) $chan]} {        putserv "NOTICE $idle(nick) :Attention tu est inactif depuis [lindex $text 2] secondes"      putserv "MODE $chan -o $idle(nick) " } } } } }bind pub - whois pub:whoisproc pub:whois { nick uhost hand chan arg } {global idleputserv "WHOIS $arg" }bind time - * event:idlelook bind time - "00 * * * *" event:idlelook proc event:idlelook  { min hour day month year } {global botnickforeach channel(list) [channels] {  foreach user(list) [chanlist $channel(list)] {           if {[isop $user(list)  $channel(list)]} {               putserv "WHOIS $user(list)" ;  return 0 } } } } </code></pre></div> What's the problem ?<p>Statistics: Posted by Guest — Mon Jun 09, 2003 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-08T18:36:15-04:00</updated>

		<published>2003-06-08T18:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21479#p21479</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21479#p21479"/>
		<title type="html"><![CDATA[IDLE deop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21479#p21479"><![CDATA[
if you had read the error messages you'd know. (hint: you're trying to access variables that doesn't exist)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Jun 08, 2003 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-07T11:00:55-04:00</updated>

		<published>2003-06-07T11:00:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21406#p21406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21406#p21406"/>
		<title type="html"><![CDATA[IDLE deop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21406#p21406"><![CDATA[
What"s the problem in this code ?<br><br>#*/ idle max */<br>set idle(max) "2"<br><br><br>bind raw - 317 event:idle<br>proc event:idle  {from keyword text} {<br>global idle<br>   set idle(sec) [expr $idle(max) / 60]<br> if {$idle(sec) &gt; $idle(max)} {<br>      foreach channel [channels] {<br>      if {[onchan $nick $channel]} {<br>       putserv "NOTICe $nick :You have too much IDLE ($idle(secs) secondes)"<br>      putserv "MODE $channel -o $nick" } } } }<br><br>bind time -|- "00 * * * *" event:idlelook <br>bind time -|- "01 * * * *" event:idlelook <br>bind time -|- "02 * * * *" event:idlelook <br>bind time -|- "03 * * * *" event:idlelook <br>bind time -|- "04 * * * *" event:idlelook <br>bind time -|- "10 * * * *" event:idlelook <br>bind time -|- "15 * * * *" event:idlelook <br>bind time -|- "20 * * * *" event:idlelook <br>bind time -|- "25 * * * *" event:idlelook <br>bind time -|- "30 * * * *" event:idlelook <br>bind time -|- "35 * * * *" event:idlelook <br>bind time -|- "40 * * * *" event:idlelook <br>bind time -|- "45 * * * *" event:idlelook   <br>bind time -|- "50 * * * *" event:idlelook <br>bind time -|- "55 * * * *" event:idlelook <br><br>proc event:idlelook  { min hour day month year } {<br>global botnick<br>foreach channel(list) [channels] {<br>  foreach user(list) [chanlist $channel(list)] {<br>  putlog "[chanlist $channel(list)]"<br>         if {[isop $user(list)  $channel(list)]} { <br>              putserv "WHOIS $user(list)" ; putlog "looking idle " ; return 0 } } } }<p>Statistics: Posted by Guest — Sat Jun 07, 2003 11:00 am</p><hr />
]]></content>
	</entry>
	</feed>
