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

	<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-05-03T11:15:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2011-05-03T11:15:02-04:00</updated>

		<published>2011-05-03T11:15:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96821#p96821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96821#p96821"/>
		<title type="html"><![CDATA[Exempt deop list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96821#p96821"><![CDATA[
Can anyone add an exempt list to this script?<div class="codebox"><p>Code: </p><pre><code># Channelvariable opchan "#Football" # 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> — Tue May 03, 2011 11:15 am</p><hr />
]]></content>
	</entry>
	</feed>
