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

	<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-04-15T12:18:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-15T12:18:39-04:00</updated>

		<published>2004-04-15T12:18:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35566#p35566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35566#p35566"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35566#p35566"><![CDATA[
<blockquote class="uncited"><div>its more like using the right key and the wrong key but they both open the loc so whats teh difference if you use the wrong key if it still opens the loc  :p</div></blockquote>The wrong key might damage the lock! ;P<div class="codebox"><p>Code: </p><pre><code>set chan {#b[la]h}; string match $chan $chan;# no match.</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Apr 15, 2004 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-10T05:28:15-04:00</updated>

		<published>2004-04-10T05:28:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35388#p35388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35388#p35388"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35388#p35388"><![CDATA[
lol , your right and i allready sad that it is more correct to use ur string but the difference between using a key or a car and string match  or string equal is a bit overboard lol<br><br>its more like using the right key and the wrong key but they both open the loc so whats teh difference if you use the wrong key if it still opens the loc  :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Apr 10, 2004 5:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-04-09T04:15:57-04:00</updated>

		<published>2004-04-09T04:15:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35353#p35353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35353#p35353"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35353#p35353"><![CDATA[
<blockquote class="uncited"><div>i know but the effect is the same <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> hehe mach can have * ? ... equal not if i remember well as i sad comes down to the same thing hehe the way i use it tho but your right its more accurant to use equal</div></blockquote>You can either open a door with a key, or drive into it with your car. Comes down to the same thing, but why not use the best way (key <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_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=4046">dollar</a> — Fri Apr 09, 2004 4:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-09T00:37:31-04:00</updated>

		<published>2004-04-09T00:37:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35348#p35348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35348#p35348"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35348#p35348"><![CDATA[
i know but the effect is the same <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> hehe mach can have * ? ... equal not if i remember well as i sad comes down to the same thing hehe the way i use it tho but your right its more accurant to use equal<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Apr 09, 2004 12:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-09T00:29:58-04:00</updated>

		<published>2004-04-09T00:29:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35347#p35347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35347#p35347"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35347#p35347"><![CDATA[
Actualy the match and equal are two different things. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> According to <a href="http://tmml.sourceforge.net/doc/tcl/string.html" class="postlink">The Manual</a> the match = "See if pattern matches string." and equal = "Perform a character-by-character comparison of strings string1 and string2"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Apr 09, 2004 12:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-08T17:03:13-04:00</updated>

		<published>2004-04-08T17:03:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35337#p35337</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35337#p35337"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35337#p35337"><![CDATA[
Sorry :p to me its the same thing i know, its not entirly true but both comes down to the same thing<br><blockquote class="uncited"><div>Dude, why would you use string match? String equal is fine in this case. Hikaro: </div></blockquote>so is string match so what is ur point<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Apr 08, 2004 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-04-08T16:59:40-04:00</updated>

		<published>2004-04-08T16:59:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35336#p35336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35336#p35336"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35336#p35336"><![CDATA[
Dude, why would you use string match? String equal is fine in this case. Hikaro:  <div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase $chan "#channel"]} {return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Thu Apr 08, 2004 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-04-08T15:59:11-04:00</updated>

		<published>2004-04-08T15:59:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35322#p35322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35322#p35322"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35322#p35322"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set urchan "#channel"if {[string match -nocase $urchan $chan]} {  #your code here  # return 1 would be the same as halt  return 1}</code></pre></div>i suppose this is on join check eggdrop doc for bind join <br><br>$chan is the proc variable so u can call that anything u want thats the string your comparing to <br><br>-nocase cause <a href="http://www.tcl.tk/man/tcl8.3/TclCmd/string.htm" class="postlink">string</a> match is case sensitive<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Apr 08, 2004 3:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hikaro]]></name></author>
		<updated>2004-04-08T14:41:39-04:00</updated>

		<published>2004-04-08T14:41:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35313#p35313</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35313#p35313"/>
		<title type="html"><![CDATA[chan == #channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35313#p35313"><![CDATA[
hello i got code on mIRC script<br>if ($chan == #channel) { halt }<br>how if i want to do in tcl?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4672">hikaro</a> — Thu Apr 08, 2004 2:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
