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

	<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-10-11T16:08:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-11T16:08:28-04:00</updated>

		<published>2003-10-11T16:08:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28295#p28295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28295#p28295"/>
		<title type="html"><![CDATA[Mode protect...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28295#p28295"><![CDATA[
also, the:<div class="codebox"><p>Code: </p><pre><code>if {[isbotnick $nick] || ![string match "$chan" "lchans"]} {return} </code></pre></div>should be:<div class="codebox"><p>Code: </p><pre><code>if {[isbotnick $nick] || ![string match -nocase $chan $lchans]} {return} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Oct 11, 2003 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarkerJr]]></name></author>
		<updated>2003-10-11T09:32:16-04:00</updated>

		<published>2003-10-11T09:32:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28268#p28268</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28268#p28268"/>
		<title type="html"><![CDATA[Mode protect...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28268#p28268"><![CDATA[
What's it say is wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2933">BarkerJr</a> — Sat Oct 11, 2003 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MINImi]]></name></author>
		<updated>2003-10-11T08:20:44-04:00</updated>

		<published>2003-10-11T08:20:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28257#p28257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28257#p28257"/>
		<title type="html"><![CDATA[Mode protect...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28257#p28257"><![CDATA[
hmm when i copy this the script doenst work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3973">MINImi</a> — Sat Oct 11, 2003 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-24T14:10:54-04:00</updated>

		<published>2003-07-24T14:10:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23903#p23903</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23903#p23903"/>
		<title type="html"><![CDATA[Mode protect...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23903#p23903"><![CDATA[
oh damn not seen... thnx<p>Statistics: Posted by Guest — Thu Jul 24, 2003 2:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-24T10:14:41-04:00</updated>

		<published>2003-07-24T10:14:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23893#p23893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23893#p23893"/>
		<title type="html"><![CDATA[Mode protect...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23893#p23893"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[botonchan $chan]} &amp;&amp; [botisop $chan]} {</code></pre></div>remove the extra }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jul 24, 2003 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-24T09:43:13-04:00</updated>

		<published>2003-07-24T09:43:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23891#p23891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23891#p23891"/>
		<title type="html"><![CDATA[Mode protect...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23891#p23891"><![CDATA[
Hi there, since 2 weeks i am writting a anti-overtake script for the qnet.<br><br>now i got my first unsolveable error. :/<blockquote class="uncited"><div>[15:31] wrong # args: should be "proc name args body"<br>   while executing<br>"proc l_prot_banmode {nick uhost hand chan mc moden} {<br>global lchans lchanmode<br>if {[isbotnick $nick] || ![string match "$chan" "lchans"]} {return}<br>..."</div></blockquote>The complete src if following:<blockquote class="uncited"><div>bind mode - "* +k" l_prot_banmode<br>bind mode - "* +i" l_prot_banmode<br>bind mode - "* +l" l_prot_banmode<br><br>proc l_prot_banmode {nick uhost hand chan mc moden} {<br>global lchans lchanmode<br>if {[isbotnick $nick] || ![string match "$chan" "lchans"]} {return}<br>putquick "PRIVMSG <a href="mailto:TheLBot@lightweight.quakenet.org">TheLBot@lightweight.quakenet.org</a> :chanlev $chan $nick -$chanmode"<br>if {[botisop $chan]} {<br>putquick "MODE $chan -o+b $nick $uhost"<br>}<br>if {[botonchan $chan]} &amp;&amp; [botisop $chan]} {<br> putquick "KICK $chan $nick :\002AntiOvertake Script\002 - Don't change Chanmodes!"<br>}<br>}</div></blockquote>Can anyone find a failure ? i found none. ... the script worked fine as i used:<br><blockquote class="uncited"><div>proc l_prot_banmode {nick uhost hand chan mc moden} {<br>global lchans lchanmode<br>if {[isbotnick $nick] || ![string match "$chan" "lchans"]} {return}<br>putquick "PRIVMSG <a href="mailto:TheLBot@lightweight.quakenet.org">TheLBot@lightweight.quakenet.org</a> :chanlev $chan $nick -$chanmode"<br>putquick "MODE $chan -o+b $nick $uhost"<br>putquick "KICK $chan $nick :\002AntiOvertake Script\002 - Don't change Chanmodes!"<br>}</div></blockquote><p>Statistics: Posted by Guest — Thu Jul 24, 2003 9:43 am</p><hr />
]]></content>
	</entry>
	</feed>
