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

	<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-07-29T11:28:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-07-29T07:11:12-04:00</updated>

		<published>2005-07-29T07:11:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53451#p53451</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53451#p53451"/>
		<title type="html"><![CDATA[Protectin error :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53451#p53451"><![CDATA[
but why your making a protection script, there are enough protection scripts in the database, that have protection modes based on quakenet services<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Fri Jul 29, 2005 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-07-29T07:07:53-04:00</updated>

		<published>2005-07-29T07:07:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53450#p53450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53450#p53450"/>
		<title type="html"><![CDATA[Protectin error :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53450#p53450"><![CDATA[
You will need a bind <br><br>The proc is't reacting on anything atm <br><div class="codebox"><p>Code: </p><pre><code>bind mode - * procname </code></pre></div>maybe this will solve the problem, at least i dont see a bind<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Fri Jul 29, 2005 7:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Winters]]></name></author>
		<updated>2005-07-29T11:28:13-04:00</updated>

		<published>2005-07-29T06:40:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53449#p53449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53449#p53449"/>
		<title type="html"><![CDATA[Protectin error :/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53449#p53449"><![CDATA[
I just made a anti overtake script but at some modes it doesn't work<br>like this:<br><blockquote class="uncited"><div>Test1 sets mode: +i<br>Bot make nothing<br>Test2 sets mode: +k dd<br>Bot make nothing<br>Test3 sets mode: +l 1<br>Bot make nothing</div></blockquote>And here is my code :&gt; and there are no known errors (i think)<br><div class="codebox"><p>Code: </p><pre><code>bind pub - * mode:protectionproc mode:protection {nick host hand chan mode victim} {channel set $chan [expr [channel get $chan id] + 1]set service "[request:service $chan]"set id "[channel get $chan id]"if {($mode == "-o")&amp;&amp;($victim == "$::botnick")} {  if {[onchan "$service" $chan]} { putquick "privmsg $service :op $chan"}if {($nick == "$service") &amp;&amp; ($mode == "+i") || ($mode == "+s")} {putserv "privmsg $service :CLEARINVITE $chan"return 0}if {"$nick" == "$service"} {return 0}if {"$nick" == "$::botnick"} {return 0}if {![string match "*users.quakenet.org" "$host"]} {set host [maskhost [getchanhost $nick $chan]]} else {set host "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"}if {"$victim" == "$::botnick"} {newchanban $chan $host $::botnick "You are not allowed to deop me in $chan! \((\ $id )" "30" "sticky"putserv "kick $chan $nick :You are not allowed to deop me in $chan! \((\ $id )"}if {![matchattr $hand mno|mno $chan]} {newchanban $chan $host "$::botnick" "You are not allowed to deop in $chan! \((\ $id )" "30" "sticky"putserv "kick $chan $nick :You are not allowed to deop in $chan! \((\ $id )"}if {[channel get $chan rflag]} {putserv "privmsg $service :chanlev $chan $nick -ao"} } elseif {("$mode" == "+o")} {if {"$nick" == "$::botnick"} {return 0} elseif {"$nick" == "$service"} {return 0} elseif {[string match "*.quakenet.org" $host]} {return 0}if {![string match "*users.quakenet.org" "$host"]} {set host [maskhost [getchanhost $nick $chan]]} else {set host "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"}newchanban $chan $host "$::botnick" "You are not allowed to op in $chan \((\ $id )" "30" "sticky"putserv "kick $chan $nick :You are not allowed to op in $chan! \((\ $id )"} elseif {("$mode" == "+b")} {if {"$nick" == "$::botnick"} {return 0}if {![string match "*users.quakenet.org" "$host"]} {set host [maskhost [getchanhost $nick $chan]]} else {set host "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"}set bothost "[getchanhost $::botnick $chan]"if {![string match "$victim" "$bothost"]} {if {![matchattr $hand mno|mn $chan]} {newchanban $chan $host "$::botnick" "You are not allowed to ban me in $chan! \((\ $id )" "30" "sticky"putserv "kick $chan $nick :You are not allowed to ban me in $chan! \((\ $id )"foreach user [chanlist $chan] {set hosts [getchanhost $user $chan]if {[string match "$victim" "$hosts"]} {newchanban $chan $host "$::botnick" "You are not allowed to ban in $chan! \((\ $id )" "30" "sticky"putserv "kick $chan $nick :You are not allowed to ban in $chan! (( $id )"putserv "mode $chan -b $victim"} elseif {("$mode" == "+i")} {if {![matchattr $hand mno|mn $chan]} {if {![string match "*users.quakenet.org" "$host"]} {set host [maskhost [getchanhost $nick $chan]]} else {set host "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"}newchanban $chan $host $::botnick "You are not allowed to set invite only on $chan! (( $id )" 30 stickyputserv "kick $chan $nick :You are not allowed to set invite only on $chan! \((\ $id )"pushmode $chan -i}} elseif {("$mode" == "+l")} {if {![matchattr $hand mno|mn $chan]} {if {"$victim" &lt;= "[llength [chanlist $chan]]"} {if {![string match "*users.quakenet.org" "$host"]} {set host [maskhost [getchanhost $nick $chan]]} else {set host "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"}newchanban $chan $host $::botnick "You are not allowed to set a small limit in $chan! (( $id )" 30 stickyputserv "kick $chan $nick :You are not allowed to set a small limit in $chan! \((\ $id )" 30 stickypushmode $chan -l           }          } }        }      }     }    }   }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6461">Winters</a> — Fri Jul 29, 2005 6:40 am</p><hr />
]]></content>
	</entry>
	</feed>
