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

	<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-02-21T05:37:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T05:37:10-04:00</updated>

		<published>2003-02-21T05:37:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16866#p16866</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16866#p16866"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16866#p16866"><![CDATA[
Your welcome.<br><br>Also, I've noticed that you haven't said nothing about the <em class="text-italics">matchattr</em> after my last post. Cat eat your tangue? <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=187">caesar</a> — Fri Feb 21, 2003 5:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-21T04:50:40-04:00</updated>

		<published>2003-02-21T04:50:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16863#p16863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16863#p16863"/>
		<title type="html"><![CDATA[Thank yoy realy guys :)))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16863#p16863"><![CDATA[
One big Thank you from me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)!!!!!!!!!!<br>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2732">Insectora</a> — Fri Feb 21, 2003 4:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-20T15:17:09-04:00</updated>

		<published>2003-02-20T15:17:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16840#p16840</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16840#p16840"/>
		<title type="html"><![CDATA[hihi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16840#p16840"><![CDATA[
still not perfect, a typo in line 6 by tlower which should be tolower <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br>and just edit your post <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>Edit: now i dont see any errors any more <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Feb 20, 2003 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-20T15:20:21-04:00</updated>

		<published>2003-02-20T14:47:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16839#p16839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16839#p16839"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16839#p16839"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc pub:kick {nick host hand chan text} {   global botnick   set text [split $text]   if {![llength $text] &gt; 0 || ![botisop $chan]} { return }   set whom [string tolower [lindex $text 0]]   if {$whom == [string tolower $botnick] || [matchattr [nick2hand $whom $chan] f|f $chan] || ![onchan $whom $chan]} { return }   set reason [lrange $text 1 end]   putserv "KICK $chan $whom :$reason"   putlog "#$hand# has kicked $whom from $chan" }</code></pre></div>Also, a quote from tcl-commands.doc: <em class="text-italics">matchattr &lt;handle&gt; &lt;flags&gt; [channel]</em>..<br><br>There.. happy now? Btw, congrats egghead for the 2oo'st post :]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 20, 2003 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-20T14:41:07-04:00</updated>

		<published>2003-02-20T14:41:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16838#p16838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16838#p16838"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16838#p16838"><![CDATA[
Guess I have rushed a bit..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 20, 2003 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-02-20T14:25:33-04:00</updated>

		<published>2003-02-20T14:25:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16837#p16837</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16837#p16837"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16837#p16837"><![CDATA[
Hurray!!! <br><br>(posting nr. 200 <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=282">egghead</a> — Thu Feb 20, 2003 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-20T14:20:17-04:00</updated>

		<published>2003-02-20T14:20:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16836#p16836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16836#p16836"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16836#p16836"><![CDATA[
cut set chan [string tolower $chan] out, i say it can cause more problems, then it should solve. and [matchattr $whom f|f] is meant to be [matchattr [nick2hand $whom] f|f $chan] <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>PS: Papillon you were a few seconds faster, but your 3rd is still wrong <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=2382">De Kus</a> — Thu Feb 20, 2003 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-02-20T14:20:00-04:00</updated>

		<published>2003-02-20T14:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16835#p16835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16835#p16835"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16835#p16835"><![CDATA[
1. you should split the $text before using list-commands on it<br>2. you are making $whom to lowercase ...but you forgot to make $botnick lowercase....<br>3. <em class="text-italics">[matchattr $whom f|f]</em> should be <em class="text-italics">[matchattr $whom f|f $chan]</em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Feb 20, 2003 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-20T14:10:31-04:00</updated>

		<published>2003-02-20T14:10:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16834#p16834</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16834#p16834"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16834#p16834"><![CDATA[
What you mean? If you are talking about the fact that I haven't added a bind to it, yah, she haven't added it in the first place.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 20, 2003 2:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-02-20T14:03:21-04:00</updated>

		<published>2003-02-20T14:03:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16832#p16832</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16832#p16832"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16832#p16832"><![CDATA[
<blockquote class="uncited"><div>So, finaly it should look like:<br><div class="codebox"><p>Code: </p><pre><code>proc pub:kick {nick host hand chan text} {   global botnick  if {![llength $text] &gt; 0 || ![botisop $chan]} { return }  set whom [string tolower [lindex $text 0]]  set chan [string tolower $chan]  if {$whom == $botnick || [matchattr $whom f|f] || ![onchan $whom $chan]} { return }  set reason [lrange $text 1 end]   putserv "KICK $chan $whom :$reason"   putlog "#$hand# has kicked $whom from $chan" }</code></pre></div></div></blockquote>Sorry to say, but it certainly should not look like that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Thu Feb 20, 2003 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-20T13:59:58-04:00</updated>

		<published>2003-02-20T13:59:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16831#p16831</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16831#p16831"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16831#p16831"><![CDATA[
A lil compare betwen #cHaNnEl and #channel even #Channel or #ChanneL. Or nevermind.. Some moron pissed me off a bit earlier and.. yah.. nevermind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 20, 2003 1:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-20T13:55:37-04:00</updated>

		<published>2003-02-20T13:55:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16830#p16830</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16830#p16830"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16830#p16830"><![CDATA[
So, finaly it should look like:<br><div class="codebox"><p>Code: </p><pre><code>proc pub:kick {nick host hand chan text} {   global botnick  if {![llength $text] &gt; 0 || ![botisop $chan]} { return }  set whom [string tolower [lindex $text 0]]  set chan [string tolower $chan]  if {$whom == $botnick || [matchattr $whom f|f] || ![onchan $whom $chan]} { return }  set reason [lrange $text 1 end]   putserv "KICK $chan $whom :$reason"   putlog "#$hand# has kicked $whom from $chan" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 20, 2003 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-20T13:53:54-04:00</updated>

		<published>2003-02-20T13:53:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16829#p16829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16829#p16829"/>
		<title type="html"><![CDATA[hehe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16829#p16829"><![CDATA[
yeah, but this will probably NEVER become a problem, because the msg was send on exact that channel the bot should kick. so if the bot is on #Channel, $chan will never be #channel for the bot. it would be a diffrent if it is a bind on msg and not on pub <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=2382">De Kus</a> — Thu Feb 20, 2003 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-02-20T13:51:40-04:00</updated>

		<published>2003-02-20T13:51:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16828#p16828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16828#p16828"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16828#p16828"><![CDATA[
<blockquote class="uncited"><div>Well, not exactly. Is the same thing as the nick. #cHaNnEl is not the same as #channel or #Channel or even #ChanneL. Do some tests and you will see what I'm talking about.</div></blockquote>What tests should be done to see what you are talking about?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Thu Feb 20, 2003 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-20T13:48:41-04:00</updated>

		<published>2003-02-20T13:48:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16827#p16827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16827#p16827"/>
		<title type="html"><![CDATA[Help me With editing this script !!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16827#p16827"><![CDATA[
Well, not exactly. Is the same thing as the nick. #cHaNnEl is not the same as #channel or #Channel or even #ChanneL. Do some tests and you will see what I'm talking about.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 20, 2003 1:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
