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

	<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>2011-01-06T10:02:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GeneticBro]]></name></author>
		<updated>2011-01-06T10:02:48-04:00</updated>

		<published>2011-01-06T10:02:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95558#p95558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95558#p95558"/>
		<title type="html"><![CDATA[Deop on inactive/Reop on active modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95558#p95558"><![CDATA[
Thanks, it works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11481">GeneticBro</a> — Thu Jan 06, 2011 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-01-06T06:51:52-04:00</updated>

		<published>2011-01-06T06:51:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95557#p95557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95557#p95557"/>
		<title type="html"><![CDATA[Deop on inactive/Reop on active modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95557#p95557"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>foreach user $users {      if {[getchanidle $user $opchan] &gt;= $idletime &amp;&amp; [isop $user $opchan] &amp;&amp; ![isbotnick $user]} { </code></pre></div>Change the above to look like it does below...<div class="codebox"><p>Code: </p><pre><code>    foreach user $users {      if {[matchattr [nick2hand $user] mn|mn $chan]} { continue }      if {[getchanidle $user $opchan] &gt;= $idletime &amp;&amp; [isop $user $opchan] &amp;&amp; ![isbotnick $user]} { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Thu Jan 06, 2011 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeneticBro]]></name></author>
		<updated>2011-01-06T02:37:29-04:00</updated>

		<published>2011-01-06T02:37:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95555#p95555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95555#p95555"/>
		<title type="html"><![CDATA[Deop on inactive/Reop on active modification]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95555#p95555"><![CDATA[
Hello,<br><br>Can you tell me how to modify this script, to make it WORKING only with the users who are in the bot userlist with +o flag, and not to work (except the users) who have +mn?<div class="codebox"><p>Code: </p><pre><code>variable opchan "#test"variable idletime 480bind time - "* * * *" deop_uservariable oplist ""proc deop_user {a b c d e} {global opchan idletime oplistset users [lrange [chanlist $opchan] 1 end]    foreach user $users {      if {[getchanidle $user $opchan] &gt;= $idletime &amp;&amp; [isop $user $opchan] &amp;&amp; ![isbotnick $user]} {         putserv "MODE $opchan -o $user"         lappend oplist [getchanhost $user $opchan]      } elseif {[getchanidle $user $opchan] &lt; $idletime &amp;&amp; ![isop $user $opchan]} {         if {[lsearch -exact $oplist [getchanhost $user $opchan]] != -1} {            putserv "MODE $opchan +o $user"         }      }    }}</code></pre></div>Big thanks in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11481">GeneticBro</a> — Thu Jan 06, 2011 2:37 am</p><hr />
]]></content>
	</entry>
	</feed>
