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

	<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>2005-11-18T02:48:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-11-18T02:48:33-04:00</updated>

		<published>2005-11-18T02:48:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57559#p57559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57559#p57559"/>
		<title type="html"><![CDATA[auto +M -M]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57559#p57559"><![CDATA[
<blockquote class="uncited"><div>well, maybe for that guy for some weird reason it's useful, but setting +m on idle channel sounds completely pointless to me; +m is supposed to be used for flood protection and moderating</div></blockquote>I couldn't agree more. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Could it be he wants to block timed "away" messages?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Nov 18, 2005 2:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-11-18T01:53:17-04:00</updated>

		<published>2005-11-18T01:53:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57556#p57556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57556#p57556"/>
		<title type="html"><![CDATA[auto +M -M]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57556#p57556"><![CDATA[
well, maybe for that guy for some weird reason it's useful, but setting +m on idle channel sounds completely pointless to me; +m is supposed to be used for flood protection and moderating<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Nov 18, 2005 1:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-11-17T23:03:47-04:00</updated>

		<published>2005-11-17T23:03:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57550#p57550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57550#p57550"/>
		<title type="html"><![CDATA[auto +M -M]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57550#p57550"><![CDATA[
<blockquote class="uncited"><div>Sir_Fz, your responsiveness to requests for completely useless scripts never cease to amaze me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"></div></blockquote>Seems this "useless" script is getting more complicated. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Nov 17, 2005 11:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2005-11-17T19:57:26-04:00</updated>

		<published>2005-11-17T19:57:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57541#p57541</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57541#p57541"/>
		<title type="html"><![CDATA[random]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57541#p57541"><![CDATA[
like this<br><br>set bla (10,25)<br><br>or<br><br>set bla1 10<br>set bla2 25<br><br><br>instead of the 30 timer for unlock, it will choose a random name between those two<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Thu Nov 17, 2005 7:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-17T18:49:03-04:00</updated>

		<published>2005-11-17T18:49:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57537#p57537</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57537#p57537"/>
		<title type="html"><![CDATA[Re: one more thing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57537#p57537"><![CDATA[
<blockquote class="uncited"><div>sorry but one more thing if i wanted to put a random number between two number to unlock what should i change, sorry to bother so much</div></blockquote>Didn't understand.<blockquote class="uncited"><div>Sir_Fz, your responsiveness to requests for completely useless scripts never cease to amaze me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> </div></blockquote>I was in the mood <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 17, 2005 6:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-11-16T23:41:29-04:00</updated>

		<published>2005-11-16T23:41:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57518#p57518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57518#p57518"/>
		<title type="html"><![CDATA[auto +M -M]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57518#p57518"><![CDATA[
Sir_Fz, your responsiveness to requests for completely useless scripts never cease to amaze me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Nov 16, 2005 11:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2005-11-16T21:24:40-04:00</updated>

		<published>2005-11-16T21:24:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57515#p57515</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57515#p57515"/>
		<title type="html"><![CDATA[one more thing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57515#p57515"><![CDATA[
sorry but one more thing if i wanted to put a random number between two number to unlock what should i change, sorry to bother so much<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Wed Nov 16, 2005 9:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2005-11-16T20:01:20-04:00</updated>

		<published>2005-11-16T20:01:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57513#p57513</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57513#p57513"/>
		<title type="html"><![CDATA[tks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57513#p57513"><![CDATA[
thank u very much <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Wed Nov 16, 2005 8:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-16T17:05:58-04:00</updated>

		<published>2005-11-16T17:05:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57509#p57509</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57509#p57509"/>
		<title type="html"><![CDATA[auto +M -M]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57509#p57509"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># What channel?set lIdle(chan) "#yourchan"# Lock after how many idle minutes?set lIdle(itime) 30# Unlock afte how many idle minutes?set lIdle(iultime) 30# Unlock only if the number of ops is less than: (including bot)set lIdle(nops) 4# Check for idle every x minutes.set lIdle(citime) 10if {[timerexists check:idle]==""} { timer $lIdle(citime) "check:idle"}set lIdle(rtime) [unixtime]bind pubm - "$lIdle(chan) *" idle:recproc idle:rec {nick uhost hand chan arg} { global lIdle if {![matchattr $hand f|f $chan]} {  set lIdle(rtime) [unixtime] }}proc check:idle {} { global lIdle if {([unixtime]-$lIdle(rtime))/60 &gt;= $lIdle(itime) &amp;&amp; ![string match *m* [lindex [split [getchanmode $lIdle(chan)]] 0]]} {  pushmode $lIdle(chan) +m  set lIdle(lchan) 1 } elseif {([unixtime]-$lIdle(rtime))/60 &gt;= $lIdle(iultime) &amp;&amp; [string match *m* [lindex [split [getchanmode $lIdle(chan)]] 0]] &amp;&amp; [getopnum] &lt; $lIdle(nops)} {  pushmode $lIdle(chan) -m } timer $lIdle(citime) "check:idle"}proc getopnum {} { global lIdle set i 0 foreach user [chanlist $lIdle(chan)] {  if {[isop $user $lIdle(chan)]} {   incr i  } } set i}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Nov 16, 2005 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[.pt]]></name></author>
		<updated>2005-11-16T14:05:51-04:00</updated>

		<published>2005-11-16T14:05:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57503#p57503</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57503#p57503"/>
		<title type="html"><![CDATA[auto +M -M]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57503#p57503"><![CDATA[
i would need a script to put the mode +m on a chan when the channel is "x" time idle and remove it when noone talks in "x" time if the channel have just a certain number of ops, ou with a opcion on not detecting some flags like other bots so it doesnt put +M or -M when theres ops around<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6989">.pt</a> — Wed Nov 16, 2005 2:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
