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

	<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-05-17T13:42:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Yoda]]></name></author>
		<updated>2003-05-17T13:42:04-04:00</updated>

		<published>2003-05-17T13:42:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20337#p20337</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20337#p20337"/>
		<title type="html"><![CDATA[no case sensitive in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20337#p20337"><![CDATA[
thanks alot and sorry, now I have understood. I am not much practical one with tcl.<br><br>Yoda<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2083">Yoda</a> — Sat May 17, 2003 1:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-17T11:38:42-04:00</updated>

		<published>2003-05-17T11:38:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20333#p20333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20333#p20333"/>
		<title type="html"><![CDATA[no case sensitive in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20333#p20333"><![CDATA[
Use string tolower or strlwr (wich is the same thing but with a shorter name) then. eg:<div class="codebox"><p>Code: </p><pre><code>if {[strlwr $nick] == "yoda"} {bla}</code></pre></div>You should pay more attention to what ppslim sugested you before me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat May 17, 2003 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yoda]]></name></author>
		<updated>2003-05-17T11:24:24-04:00</updated>

		<published>2003-05-17T11:24:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20331#p20331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20331#p20331"/>
		<title type="html"><![CDATA[no case sensitive in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20331#p20331"><![CDATA[
thanks for rush answer. my problem:<br><div class="codebox"><p>Code: </p><pre><code>if {$nick == "yoda"} {putmsg $chan "4,0 Yoda wecome"}</code></pre></div>I would like to join with Yoda, yoda, YOda, YODa, YODA and the script detect me. with the script above I am detected only if I join with yoda, if I join with Yoda nothing happen. can you say me what I have exatly to add?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>Yoda<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2083">Yoda</a> — Sat May 17, 2003 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-17T10:31:05-04:00</updated>

		<published>2003-05-17T10:31:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20326#p20326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20326#p20326"/>
		<title type="html"><![CDATA[no case sensitive in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20326#p20326"><![CDATA[
This is a basic form of matching, also known as explicit matching.<br><br>There are several ways to use non-explicit and explicit matching, in a non-case sensitive way.<br><br>Some inlclude converting both the matching text, and the incoming text to lower case.<br><br>Others involved non-case sensitive commands.<br><br>Here are a few.<br><div class="codebox"><p>Code: </p><pre><code>set a "Hello"set b "heLLo"# Exlicitif {$a == $b} {}# Non-sensitiveif {[string tolower $a] == [string tolower $b]} {}if {[string equal -nocase $a $b]} {}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat May 17, 2003 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yoda]]></name></author>
		<updated>2003-05-17T10:23:40-04:00</updated>

		<published>2003-05-17T10:23:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20325#p20325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20325#p20325"/>
		<title type="html"><![CDATA[no case sensitive in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20325#p20325"><![CDATA[
hi,<br>I have a very stupid problem but I dont know how resolve it  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br><div class="codebox"><p>Code: </p><pre><code>if {$nick == "Yoda"} </code></pre></div>in this way bot detect only if the nick is Yoda, but how get that bot detect not case sensitive?<br><br>I tried with != and works as non sensitive but bot continue to repete the message asked by procedure. what instead of == ?<br><br>thanks for help<br><br>Yoda<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2083">Yoda</a> — Sat May 17, 2003 10:23 am</p><hr />
]]></content>
	</entry>
	</feed>
