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

	<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-08-28T12:26:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[byte]]></name></author>
		<updated>2005-08-28T12:26:26-04:00</updated>

		<published>2005-08-28T12:26:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54963#p54963</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54963#p54963"/>
		<title type="html"><![CDATA[aidle and Unreal]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54963#p54963"><![CDATA[
yes, i add set opchars "@&amp;~" but i have the same problem  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6512">byte</a> — Sun Aug 28, 2005 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-28T12:02:38-04:00</updated>

		<published>2005-08-28T12:02:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54961#p54961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54961#p54961"/>
		<title type="html"><![CDATA[aidle and Unreal]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54961#p54961"><![CDATA[
In your .conf file<blockquote class="uncited"><div>set opchars "@&amp;~"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Aug 28, 2005 12:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[byte]]></name></author>
		<updated>2005-08-28T09:12:40-04:00</updated>

		<published>2005-08-28T09:12:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54958#p54958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54958#p54958"/>
		<title type="html"><![CDATA[aidle and Unreal]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54958#p54958"><![CDATA[
hello, i use this anti idle script for my chan , and exclude op, halfop and voice but the tcl don't detect founder ~ and sop &amp; and kickban this, 1 solution ?<br><div class="codebox"><p>Code: </p><pre><code>### GLOBALS ###set exclude(op) 1set exclude(halfop) 1set exclude(voice) 1set ban(type) 3set ban(time) 10set ban(reason) "Ban temporaneo di %BAN minuti"set notice(msg) "Vietato sostare su %CHAN per più di %IDLE minuti"### END GLOBALS ###### FLAGS ###setudef int max_idle### END FLAGS###### BINDS ###bind time - "* * * * *" idle:check### END BINDS ###### PROCS ###proc idle:check { hour min day month year } {foreach chan [ channels ] {idle:scan ${chan}}}proc idle:scan { chan } {set max [ channel get ${chan} max_idle ]if { ${max} &gt; 0 } {foreach nick [ chanlist ${chan} ] {if { [ isop ${nick} ${chan} ] &amp;&amp; $::exclude(op) != 0 } {continue}if { [ ishalfop ${nick} ${chan} ] &amp;&amp; $::exclude(halfop) != 0 } {continue}if { [ isvoice ${nick} ${chan} ] &amp;&amp; $::exclude(voice) != 0 } {continue}if { [ getchanidle ${nick} ${chan} ] &gt;= ${max} } {set kickmsg [ var:replace $::ban(reason) "%BAN" "$::ban(time)" ]set noticemsg [ var:replace [ var:replace $::notice(msg) "%CHAN" "${chan}" ] "%IDLE" "${max}" ]set mask [ address "${nick}![ getchanhost ${nick} ${chan} ]" $::ban(type) ]if { [ isop ${nick} ${chan} ] } {putquick "MODE ${chan} -o+b ${nick} ${mask}"} elseif { [ ishalfop ${nick} ${chan} ] } {putquick "MODE ${chan} -h+b ${nick} ${mask}"} else {putquick "MODE ${chan} +b ${mask}"}if { ${kickmsg} != "" } {putquick "KICK ${chan} ${nick} :${kickmsg}"} else {putquick "KICK ${chan} ${nick} :Ban temporaneo di ${max} minuti"}if { ${noticemsg} != "" } {putquick "NOTICE ${nick} :${noticemsg}"}timer $::ban(time) "ban:remove ${chan} ${mask}"}}}}proc ban:remove { chan mask } {putquick "MODE ${chan} -b ${mask}"}proc var:replace { line var value } {regsub -- "$var" $line "$value" linereturn $line}proc address { mask type } {set nick [ lindex [ split ${mask} "!" ] 0 ]set ident [ lindex [ split [ lindex [ split ${mask} "!" ] 1 ] "@" ] 0 ]set host [ lindex [ split ${mask} "@" ] 1 ]set domain [ lindex [ split [ maskhost ${mask} ] "@" ] 1 ]switch  -- ${type} {0 { return "*!${ident}@${host}" }1 { return "*!*${ident}@${host}" }2 { return "*!*@${host}" }3 { return "*!*${ident}@${domain}" }4 { return "*!*@${domain}" }5 { return "${nick}!${ident}@${host}" }6 { return "${nick}!*${ident}@${host}" }7 { return "${nick}!*@${host}" }8 { return "${nick}!*${ident}@${domain}" }9 { return "${nick}!*@${domain}" }}}### END PROCS ###### INITIAL ###if { $ban(time) &lt; 1} {set ban(time) 10}if { $ban(type) &lt; 0 || $ban(type) &gt; 9 } {set ban(type) 2}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6512">byte</a> — Sun Aug 28, 2005 9:12 am</p><hr />
]]></content>
	</entry>
	</feed>
