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

	<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-31T04:10:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2011-01-31T04:10:31-04:00</updated>

		<published>2011-01-31T04:10:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95874#p95874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95874#p95874"/>
		<title type="html"><![CDATA[Help with a deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95874#p95874"><![CDATA[
yeah thats true, that would be better..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Mon Jan 31, 2011 4:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-01-28T15:47:24-04:00</updated>

		<published>2011-01-28T15:47:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95864#p95864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95864#p95864"/>
		<title type="html"><![CDATA[Help with a deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95864#p95864"><![CDATA[
hi,<br><br>won't it be easier to have a 'excepts' user where you will be adding what hosts you wish rather than having to edit the tcl file every time you want to make a change?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jan 28, 2011 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2011-01-28T04:00:45-04:00</updated>

		<published>2011-01-28T04:00:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95862#p95862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95862#p95862"/>
		<title type="html"><![CDATA[Help with a deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95862#p95862"><![CDATA[
Can anyone please modify the following script so it will not deop certain hosts?<br><br>i.e. if I add *!*@*.users.quakenet.org, it won't deop anyone matching that.<br><br>Thanks<div class="codebox"><p>Code: </p><pre><code># Channelvariable opchan "#EPL" # Idle time in minutesvariable idletime 60bind time - "* * * *" deop_userif {![info exists oplist]} { set oplist "" }proc deop_user {a b c d e} {    global opchan idletime oplist    set users [lrange [chanlist $opchan] 1 end]    foreach user $users {        if {[getchanidle $user $opchan] &gt;= $idletime &amp;&amp; [isop $user $opchan] &amp;&amp; ![isbotnick $user]} {            # Oprotate exemption: check if the user is a qualified op. If he/she is then check if without them there            # would be any qualified ops left. If not, then do not deop the user (requires oprotate.tcl to be loaded)            if {[namespace exists oprotate] &amp;&amp; [channel get $opchan oprotate] &amp;&amp; [oprotate::user_is_qualified_op $opchan $user] &amp;&amp; [oprotate::find_best_qualified_op $opchan $user] == ""} {                                # You can remove the line below (the putlog, not the return!) if this message is too spammy ;)                putlog "oprotate/deop: Not going to deop $user in $opchan because they are the only qualified op left."                return            }            pushmode $opchan "-o" $user            lappend oplist [getchanhost $user $opchan]        } elseif {[getchanidle $user $opchan] &lt; $idletime &amp;&amp; ![isop $user $opchan] &amp;&amp; [lsearch -exact $oplist [getchanhost $user $opchan]] != -1} {            pushmode $opchan "+o" $user        }    }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Fri Jan 28, 2011 4:00 am</p><hr />
]]></content>
	</entry>
	</feed>
