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

	<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>2004-02-08T09:07:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Blade2]]></name></author>
		<updated>2004-02-08T09:07:30-04:00</updated>

		<published>2004-02-08T09:07:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33338#p33338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33338#p33338"/>
		<title type="html"><![CDATA[Whats wrong ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33338#p33338"><![CDATA[
big thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>but one question, how can i add in my script an global bot ban, this ban its not a global only a channel spezific ban ?<br><br>the ban over 40 min ?<br><br>P.s The +k part didnt works<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4535">Blade2</a> — Sun Feb 08, 2004 9:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-02-08T03:35:35-04:00</updated>

		<published>2004-02-08T03:35:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33328#p33328</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33328#p33328"/>
		<title type="html"><![CDATA[Whats wrong ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33328#p33328"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set prot(modetime) "40"; set prot(exceflag) "z"; set prot(flags) "-amov"; bind mode - * mode:change ######### Invite, Limit, Key Protection ###### proc mode:change {nick host hand chan mode vict} {   global prot  if {[isbotnick $nick] || [matchattr $hand m|m $chan] || [matchattr $hand $prot(exceflag)|$prot(exceflag)] || [matchattr $hand b]} {    return 0  }  switch -- $mode {    "+i" {       pushmode $chan -i       pushmode $chan -o $nick       if {![string equal "$prot(modetime)" "0"]} {        pushmode $chan +b [maskhost $host]      }       chattr $hand |-ao+d $chan      set service [qlcheck $chan]       if {$service != ""} {        putserv "PRIVMSG $service :chanlev $chan $nick $$prot(flags)"      }       putserv "PRIVMSG $chan :Lost Chanflags! Wenn du sie wieder haben willst melde dich bei einen meiner Helper auf $chan: [chanlist $chan m|m]"       putserv "KICK $chan $nick :Security on $chan bY #su1c!de ~ www.su1cide-clan.de &lt;http://www.su1cide-clan.de&gt; | Reason: +i set on $chan - Ban: $prot(modetime) min"       return    }     "+l" {       if {$vict &lt; 10} {         pushmode $chan -l         pushmode $chan -o $nick         if {![string equal "$prot(modetime)" "0"]} {          pushmode $chan +b [maskhost $host]        }         chattr $hand |-ao+d $chan         set service [qlcheck $chan]         if {$service != ""} {          putserv "PRIVMSG $service :chanlev $chan $nick $prot(flags)"        }         putserv "PRIVMSG $nick :Lost Chanflags! Wenn du sie wieder haben willst melde dich bei einen meiner Helper auf $chan: [chanlist $chan m|m]"         putserv "KICK $chan $nick :Security on $chan bY #su1c!de ~ www.su1cide-clan.de &lt;http://www.su1cide-clan.de&gt; | Reason: +l set on $chan - Ban: $prot(modetime) min"         return      }      "+k" {         pushmode $chan -k         pushmode $chan -o $nick         if {![string equal "$prot(modetime)" "0"]} {          pushmode $chan +b [maskhost $host]        }         chattr $hand |-ao+d $chan         set service [qlcheck $chan]         if {$service != ""} {          putserv "PRIVMSG $service :chanlev $chan $nick $prot(flags)"        }         putserv "PRIVMSG $nick :Lost Chanflags! Wenn du sie wieder haben willst melde dich bei einen meiner Helper auf $chan: [chanlist $chan m|m]"         putserv "KICK $chan $nick :Security on $chan bY #su1c!de ~ www.su1cide-clan.de &lt;http://www.su1cide-clan.de&gt; | Reason: +k set on $chan - Ban: $prot(modetime) min"         return      }     }   }}proc qlcheck {chan} {   if {[onchan Q $chan]} {     return "Q"     } elseif {[onchan L $chan]} {     return "L"   }  return ""}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Feb 08, 2004 3:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Blade2]]></name></author>
		<updated>2004-02-07T23:15:18-04:00</updated>

		<published>2004-02-07T23:15:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33323#p33323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33323#p33323"/>
		<title type="html"><![CDATA[Whats wrong ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33323#p33323"><![CDATA[
<blockquote class="uncited"><div>set modetime "40";<br>set exceflag "z";<br>set flags "-amov";<br><br>bind mode - * change<br><br>######### Invite, Limit, Key Protection ######<br><br>proc change {nick host hand chan mode} {<br>global botnick botname exceflag modetime flags<br>if {[string tolower $nick] == [string tolower $botnick]} {return 0}<br>if {([matchattr $hand m|m $chan]) || ([matchattr $hand $exceflag|$exceflag]) || ([matchattr $hand b])} {return 0} {<br>if {$mode == "+i"} { <br>pushmode $chan -i<br>pushmode $chan -o $nick <br>            if {![string match "$modetime" "0"]} {pushmode $chan +b [maskhost $host]}<br>chattr $hand |-ao+d $chan<br>set service [qlcheck $chan]<br>if {$service != ""} { putserv "PRIVMSG $service :chanlev $chan $nick $flags" }<br>putserv "PRIVMSG $nick :Lost Chanflags! Wenn du sie wieder haben willst melde dich bei einen meiner Helper auf $chan: [chanlist $chan m|m]"<br>putserv "KICK $chan $nick :Security on $chan bY #su1c!de ~ <a href="http://www.su1cide-clan.de" class="postlink">www.su1cide-clan.de</a> | Reason: +i set on $chan - Ban: $modetime min"<br>}<br>if {$mode == "+l"} { <br>if {$victim &lt; 10} {  <br>            pushmode $chan -l<br>pushmode $chan -o $nick <br>            if {![string match "$modetime" "0"]} {pushmode $chan +b [maskhost $host]}<br>chattr $hand |-ao+d $chan<br>set service [qlcheck $chan]<br>if {$service != ""} { putserv "PRIVMSG $service :chanlev $chan $nick $flags" }<br>putserv "PRIVMSG $nick :Lost Chanflags! Wenn du sie wieder haben willst melde dich bei einen meiner Helper auf $chan: [chanlist $chan m|m]"<br>putserv "KICK $chan $nick :Security on $chan bY #su1c!de ~ <a href="http://www.su1cide-clan.de" class="postlink">www.su1cide-clan.de</a> | Reason: +l set on $chan - Ban: $modetime min" <br>            }<br>{$mode == "+k"} { <br>pushmode $chan -k<br>pushmode $chan -o $nick <br>            if {![string match "$modetime" "0"]} {pushmode $chan +b [maskhost $host]}<br>chattr $hand |-ao+d $chan<br>set service [qlcheck $chan]<br>if {$service != ""} { putserv "PRIVMSG $service :chanlev $chan $nick $flags" }<br>putserv "PRIVMSG $nick :Lost Chanflags! Wenn du sie wieder haben willst melde dich bei einen meiner Helper auf $chan: [chanlist $chan m|m]"<br>putserv "KICK $chan $nick :Security on $chan bY #su1c!de ~ <a href="http://www.su1cide-clan.de" class="postlink">www.su1cide-clan.de</a> | Reason: +k set on $chan - Ban: $modetime min"<br>}<br>}<br>}<br>proc qlcheck {chan} {<br>        if {[onchan Q $chan]} {<br>          set service "Q"<br>        } elseif {[onchan L $chan]} {<br>          set service "L"<br>        }<br>return $service<br>}<br><br>###### Invite, Limit, Key Protection ###</div></blockquote>That Script dont works fine, can anybody help me ? Or improve my script ?<br><br>big thx<br><br>(sry for my bad english)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4535">Blade2</a> — Sat Feb 07, 2004 11:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
