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

	<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-05-09T03:48:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-09T03:48:20-04:00</updated>

		<published>2005-05-09T03:48:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49246#p49246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49246#p49246"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49246#p49246"><![CDATA[
<blockquote class="uncited"><div>works 100%!!!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br>Thanks for the help...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"></div></blockquote>I advise you to learn something about these basic if expressions. Knowing about the logic of if expressions allows you to modify most basic things in existing scripts by yourself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon May 09, 2005 3:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-05-08T17:57:22-04:00</updated>

		<published>2005-05-08T17:57:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49227#p49227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49227#p49227"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49227#p49227"><![CDATA[
works 100%!!!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br>Thanks for the help...  <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=6079">Thunderdome</a> — Sun May 08, 2005 5:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-08T17:07:17-04:00</updated>

		<published>2005-05-08T17:07:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49222#p49222</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49222#p49222"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49222#p49222"><![CDATA[
My bad, target should be nick. Try:<div class="codebox"><p>Code: </p><pre><code>if {[isbotnick $target] &amp;&amp; ![string equal -nocase "chanserv" $nick]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 08, 2005 5:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-05-08T15:22:08-04:00</updated>

		<published>2005-05-08T15:22:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49216#p49216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49216#p49216"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49216#p49216"><![CDATA[
I don't understand... either of these does not work at all!<br>I want it to ignore chanserv... btu still says something when it gives my egg op or voice...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6079">Thunderdome</a> — Sun May 08, 2005 3:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-08T10:37:44-04:00</updated>

		<published>2005-05-08T10:37:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49200#p49200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49200#p49200"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49200#p49200"><![CDATA[
Replace<div class="codebox"><p>Code: </p><pre><code>if {$target == $botnick} {</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>if {[isbotnick $target] &amp;&amp; ![string equal -nocase "chanserv" $target] &amp;&amp; ![string equal -nocase "nickserv" $target]} {</code></pre></div>Not sure if the nickserv part is needed since it doesn't give modes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 08, 2005 10:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-05-08T09:17:15-04:00</updated>

		<published>2005-05-08T09:17:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49198#p49198</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49198#p49198"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49198#p49198"><![CDATA[
how do I insert that nocase line?<br><br>ps: can you also help me you with my vhost script stuff?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6079">Thunderdome</a> — Sun May 08, 2005 9:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-08T08:29:00-04:00</updated>

		<published>2005-05-08T08:29:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49197#p49197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49197#p49197"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49197#p49197"><![CDATA[
extend '$target == $botnick' like<div class="codebox"><p>Code: </p><pre><code>$target == $botnick &amp;&amp; $nick != "ChanServ" &amp;&amp; $nick != "NickServ"</code></pre></div>note: if you want to ignore case you have to use [string equal -nocase $nick chanserv]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun May 08, 2005 8:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-05-08T07:55:52-04:00</updated>

		<published>2005-05-08T07:55:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49195#p49195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49195#p49195"/>
		<title type="html"><![CDATA[thanksfor.tcl - ignore certain nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49195#p49195"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>################################ ThanksFor v1.0.1# made by Alien#### This simple script will make your bot# automaticly say thanks when it get's voiced# or opped. It ain't much but it's useful if# you want your bot to act like real user.#### You can edit code how ever you want# just leave me a little bit of credits.################################## OK, so let's start# here are some bindingsbind mode - * thanksfor:mode# now the core :) procedure# you can change colours or text, just edit# "Thanks" partproc thanksfor:mode { nick host hand chan mode target } {global botnickif {$target == $botnick} {   if {$mode == "+v"} {    puthelp "PRIVMSG $chan :4Thanks 4for 2VOICE \[4 $nick \]"      }   if {$mode == "+o"} {    puthelp "PRIVMSG $chan :4Thanks 4for 2OP \[4 $nick \]"      }   }}# ok that should do it# now just a little adv...putlog "ALI: Loaded ThansFor1.0.1 made by Alien"</code></pre></div>How can I make this ignore certain nicks (like chanserv for example)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6079">Thunderdome</a> — Sun May 08, 2005 7:55 am</p><hr />
]]></content>
	</entry>
	</feed>
