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

	<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>2003-01-24T16:43:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-24T16:39:46-04:00</updated>

		<published>2003-01-24T16:39:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15768#p15768</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15768#p15768"/>
		<title type="html"><![CDATA[AutoOp if not +d on bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15768#p15768"><![CDATA[
Ok, thanks. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>-p2hicy.<p>Statistics: Posted by Guest — Fri Jan 24, 2003 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-01-24T16:43:37-04:00</updated>

		<published>2003-01-24T16:32:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15767#p15767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15767#p15767"/>
		<title type="html"><![CDATA[i recommend...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15767#p15767"><![CDATA[
adding triggers for this:<br>![matchattr $handle "k|k" $channel] } &amp;&amp; ![matchattr $handle "q|q" $channel] &amp;&amp; ![matchban $nick!$uhost $channel]<br>it prevents users beeing banned (by the bot) or devoiced also from getting opped <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>i have various expiriens with script freeop. i changed my policy to 60sec autoop and added various +d triggers for kicking/deopping +m users and setting +i, +k oder +l very low. i also added a clone protection addionaly to the sentinal.tcl clone join flood protection.<div class="codebox"><p>Code: </p><pre><code>  if {[lsearch -exact [channel info $channel] +autoop] &gt; -1} {    set userhost "*!*[string range $uhost [string first @ $uhost] e]"    set clonenb 0    foreach user [chanlist $channel] {      set clonehost [getchanhost $user $channel]      set cloneuserhost "*!*[string range $clonehost [string first @ $clonehost] e]"      set userhandle [nick2hand $user]      if {[string match [strlwr $userhost] [strlwr "$user![getchanhost $user $channel]"]] &amp;&amp; ($userhost == $cloneuserhost) &amp;&amp; !([matchattr $userhandle f|f $channel] || [matchattr $userhandle o|o $channel])} {        incr clonenb      }    }    if { $clonenb &lt; 3 } {      utimer 60 [list idleopping $nick $channel]      return 1    } else {      incr clonenb -1       putserv "NOTICE $nick :Böser $clonenb. Clone Du!!!"      return 2    }  }</code></pre></div>feel free to copy the clonecounter for other usage, its a rewritten script Thor.<br>note: it counts only non-op and non-friend clones (usefull if some clones are bouncers and known).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Jan 24, 2003 4:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-23T15:34:25-04:00</updated>

		<published>2003-01-23T15:34:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15724#p15724</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15724#p15724"/>
		<title type="html"><![CDATA[AutoOp if not +d on bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15724#p15724"><![CDATA[
Thanks, it works <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>-p2hicy.<p>Statistics: Posted by Guest — Thu Jan 23, 2003 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-01-23T15:19:12-04:00</updated>

		<published>2003-01-23T15:19:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15723#p15723</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15723#p15723"/>
		<title type="html"><![CDATA[AutoOp if not +d on bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15723#p15723"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>I changed the code to the follow as you said:<br><div class="codebox"><p>Code: </p><pre><code>bind join - * p2hicy:opproc p2hicy:op { nick host handle chan text } {if {$chan != "#p2hicy"} {return 0}if {![matchchanattr $nick d|d $chan]} {pushmode $chan +o $nick}}</code></pre></div>but it still doesn't work, it ops noone. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><br><br>-p2hicy.</div></blockquote>you'll want to use $handle for your matchattr, not $nick ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Jan 23, 2003 3:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-23T14:19:35-04:00</updated>

		<published>2003-01-23T14:19:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15719#p15719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15719#p15719"/>
		<title type="html"><![CDATA[AutoOp if not +d on bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15719#p15719"><![CDATA[
Hi,<br><br>I changed the code to the follow as you said:<br><div class="codebox"><p>Code: </p><pre><code>bind join - * p2hicy:opproc p2hicy:op { nick host handle chan text } {if {$chan != "#p2hicy"} {return 0}if {![matchchanattr $nick d|d $chan]} {pushmode $chan +o $nick}}</code></pre></div>but it still doesn't work, it ops noone. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><br><br>-p2hicy.<p>Statistics: Posted by Guest — Thu Jan 23, 2003 2:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-23T14:10:05-04:00</updated>

		<published>2003-01-23T14:10:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15718#p15718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15718#p15718"/>
		<title type="html"><![CDATA[AutoOp if not +d on bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15718#p15718"><![CDATA[
How doesn't it work?<br><br>Do you mean it still ops +d users?<br><br>Do it op anyone?<br><br>I suspect it's your matcattr login<br><div class="codebox"><p>Code: </p><pre><code>if {![matchchanattr $nick d $chan]} {</code></pre></div>Change the "d" to "d|d".<br><br>This means channel or global +d.<br><br>"|d" mean channel, "d" means global.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Jan 23, 2003 2:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-23T13:53:01-04:00</updated>

		<published>2003-01-23T13:53:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15714#p15714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15714#p15714"/>
		<title type="html"><![CDATA[AutoOp if not +d on bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15714#p15714"><![CDATA[
Hi peeps,<br><br>I want to give op to every user which joins my channel #p2hicy, but not to users who have +d on the bot. I used this code to do that:<br><div class="codebox"><p>Code: </p><pre><code>bind join - * p2hicy:opproc p2hicy:op { nick host handle chan text } {if {$chan != "#p2hicy"} {return 0}if {![matchchanattr $nick d $chan]} {pushmode $chan +o $nick}}</code></pre></div>But it doesn't work. Any ideas ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">.<br><br>Thanks,<br>-p2hicy.<p>Statistics: Posted by Guest — Thu Jan 23, 2003 1:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
