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

	<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-07-26T06:52:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TsT]]></name></author>
		<updated>2003-07-26T06:52:32-04:00</updated>

		<published>2003-07-26T06:52:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23973#p23973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23973#p23973"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23973#p23973"><![CDATA[
<blockquote class="uncited"><div>you can change <div class="codebox"><p>Code: </p><pre><code>if {$vict == $botnick} {</code></pre></div>to <div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase $vict $botnick]} {</code></pre></div></div></blockquote>You can also change to<div class="codebox"><p>Code: </p><pre><code>if {[isbotnick $vict]} {</code></pre></div>and remove the <div class="codebox"><p>Code: </p><pre><code>global botnick</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2803">TsT</a> — Sat Jul 26, 2003 6:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-25T04:51:43-04:00</updated>

		<published>2003-07-25T04:51:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23942#p23942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23942#p23942"/>
		<title type="html"><![CDATA[I found it.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23942#p23942"><![CDATA[
It wasnt the coding after all.<br>It was the BIND.<br><div class="codebox"><p>Code: </p><pre><code>bind mode - "* kick" pub...</code></pre></div>it should be.<div class="codebox"><p>Code: </p><pre><code>bind kick "*" pub....</code></pre></div>Thanks anyway.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Fri Jul 25, 2003 4:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-25T04:51:06-04:00</updated>

		<published>2003-07-25T04:51:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23941#p23941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23941#p23941"/>
		<title type="html"><![CDATA[I found it.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23941#p23941"><![CDATA[
It wasnt the coding after all.<br>It was the BIND.<br><div class="codebox"><p>Code: </p><pre><code>bind mode - "* kick" pub...</code></pre></div>it should be.<div class="codebox"><p>Code: </p><pre><code>bind kick "*" pub....</code></pre></div>Thanks anyway.[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Fri Jul 25, 2003 4:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-24T15:01:53-04:00</updated>

		<published>2003-07-24T15:01:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23907#p23907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23907#p23907"/>
		<title type="html"><![CDATA[Thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23907#p23907"><![CDATA[
Oh my god i must be so blind.<br><br>Thanks man.<br>I'll check it out.<br>Hope it works.<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool">   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Thu Jul 24, 2003 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-24T12:36:51-04:00</updated>

		<published>2003-07-24T12:36:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23900#p23900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23900#p23900"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23900#p23900"><![CDATA[
hmmm sorry I didn't make myself 110% clear<br>I said you forgot to change<div class="codebox"><p>Code: </p><pre><code>$nick != "X"</code></pre></div> I kida thought you would figure out to what <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><div class="codebox"><p>Code: </p><pre><code>$nick == "X"</code></pre></div> is the right one<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jul 24, 2003 12:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-24T12:03:33-04:00</updated>

		<published>2003-07-24T12:03:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23898#p23898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23898#p23898"/>
		<title type="html"><![CDATA[Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23898#p23898"><![CDATA[
Yes I do Have The sutupdef flag.<br>When Someone Kicks The Bot Noting Happens.<br>And The Channel Is set to +xprotect.<br><br>This is weird.<br>Suggestions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Thu Jul 24, 2003 12:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-24T10:09:26-04:00</updated>

		<published>2003-07-24T10:09:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23892#p23892</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23892#p23892"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23892#p23892"><![CDATA[
no, you changed some of the if-check puts forgot to change<div class="codebox"><p>Code: </p><pre><code>$nick != "X"</code></pre></div>aslo you can change <div class="codebox"><p>Code: </p><pre><code>if {$vict == $botnick} {</code></pre></div>to <div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase $vict $botnick]} {</code></pre></div>also... you have <div class="codebox"><p>Code: </p><pre><code>setudef flag xprotect</code></pre></div> in your code don't you?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jul 24, 2003 10:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-24T09:41:26-04:00</updated>

		<published>2003-07-24T09:41:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23890#p23890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23890#p23890"/>
		<title type="html"><![CDATA[Doesnt Work After all.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23890#p23890"><![CDATA[
Well It doesnt work.<br>this is what it became.<br>but again it doesnt work.<br><div class="codebox"><p>Code: </p><pre><code>bind mode - "* kick"  kick_xkickprotectglobal botnick  if {$nick != "X" &amp;&amp; ![channel get $chan xprotect] &amp;&amp; [matchattr $hand f|f $chan]} {return 0} {  if {$vict == $botnick} {    putserv "PRIVMSG X :ban $chan $nick NEVER KICK ME ASSHOLE."   return 1 }}}</code></pre></div>Help pls.<br>I beleive the prob is with the $vict variable.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Thu Jul 24, 2003 9:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-24T06:12:17-04:00</updated>

		<published>2003-07-24T06:12:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23887#p23887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23887#p23887"/>
		<title type="html"><![CDATA[Thanks.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23887#p23887"><![CDATA[
Gee. Thanks.<br><br>I'll check it out and i'll let you know if it works.<br><br>Thanks again. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Thu Jul 24, 2003 6:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-24T06:11:52-04:00</updated>

		<published>2003-07-24T06:11:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23886#p23886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23886#p23886"/>
		<title type="html"><![CDATA[Thanks.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23886#p23886"><![CDATA[
Gee. Thanks.<br><br>I'll check it out and i'll let you know if it works.<br><br>Thanks again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Thu Jul 24, 2003 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-24T04:26:43-04:00</updated>

		<published>2003-07-24T04:26:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23883#p23883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23883#p23883"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23883#p23883"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {$nick != "X" || ![channel get $chan xprotect]} {</code></pre></div>shouldn't this check that the kicker is not <em class="text-italics">X</em> and that the channel has <em class="text-italics">+xprotect</em>?<br>right now it checks to see if it's not X <strong class="text-strong">or</strong> it has <strong class="text-strong">-xprotect</strong>...<br>change it to<div class="codebox"><p>Code: </p><pre><code>if {$nick != "X" &amp;&amp; [channel get $chan xprotect]} {</code></pre></div>and try again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jul 24, 2003 4:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-24T04:20:00-04:00</updated>

		<published>2003-07-24T04:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23882#p23882</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23882#p23882"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23882#p23882"><![CDATA[
this is how it should be:<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG X :ban $chan ${kicker} NEVER KICK ME ASSHOLE."</code></pre></div>to not apply on +f users, replace:<div class="codebox"><p>Code: </p><pre><code>if {$nick != "X" || ![channel get $chan xprotect]} { return 0 }</code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>if {$nick != "X" || ![channel get $chan xprotect] || [matchattr $hand f|f $chan]} {return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jul 24, 2003 4:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2003-07-24T03:17:51-04:00</updated>

		<published>2003-07-24T03:17:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23875#p23875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23875#p23875"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23875#p23875"><![CDATA[
Hi,<br><br> The line you used is mIRC scripting code format, I don't think it works in TCL:<div class="codebox"><p>Code: </p><pre><code>  putserv "PRIVMSG X :ban $chan $nick NEVER KICK ME ASSHOLE." </code></pre></div>  Although I am not sure how X works, I have never been on Undernet or any similar network.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Thu Jul 24, 2003 3:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CoMMy]]></name></author>
		<updated>2003-07-24T01:18:46-04:00</updated>

		<published>2003-07-24T01:18:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23872#p23872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23872#p23872"/>
		<title type="html"><![CDATA[Need Some Coding Help.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23872#p23872"><![CDATA[
Well. Here Is The TCL. Can U help me change This coding i took from xstuff.tcl? (thanks to caesar)  Basically i want it Not to remuser a user when it kicks the bot. Just to Ban Him by Undernets X bot. And the i want it to work when chanset is +xprotect. Plus Something Not to ban +fmn users. Thanks u all.<br><br>Below Is The Original Source From xstuff.tcl<div class="codebox"><p>Code: </p><pre><code>bind kick - "*" my:kickproc kick_xkickprotect {nick uh hand chan vict reas} {   if {$nick != "X" || ![channel get $chan xprotect]} { return 0 }  set kicker [string trim [lindex [split $reas] 0] {()}]   if {$vict == $::botnick} {    putquick "PRIVMSG X :remuser $chan ${kicker}"  }   return}</code></pre></div>This Is to what i changed it.<br><div class="codebox"><p>Code: </p><pre><code>bind mode - "* kick"  kick_xkickprotectproc kick_xkickprotect {nick uh hand chan vict reas} { global botnick  if {$nick != "X" || ![channel get $chan xprotect]} {  if {$vict == $botnick} {    putserv "PRIVMSG X :ban $chan $nick NEVER KICK ME ASSHOLE."  }   return}</code></pre></div>Well. Mine doesnt work. Can u help me on this one?<br>Thanks.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3555">CoMMy</a> — Thu Jul 24, 2003 1:18 am</p><hr />
]]></content>
	</entry>
	</feed>
