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

	<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-11-01T10:22:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BiLL]]></name></author>
		<updated>2003-11-01T10:22:54-04:00</updated>

		<published>2003-11-01T10:22:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29295#p29295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29295#p29295"/>
		<title type="html"><![CDATA[comparing/matching word &lt;-&gt; list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29295#p29295"><![CDATA[
thx got it <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=50">BiLL</a> — Sat Nov 01, 2003 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-11-01T09:27:17-04:00</updated>

		<published>2003-11-01T09:27:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29293#p29293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29293#p29293"/>
		<title type="html"><![CDATA[comparing/matching word &lt;-&gt; list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29293#p29293"><![CDATA[
lsearch syntax is: <em class="text-italics">lsearch ?options? list pattern </em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sat Nov 01, 2003 9:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-01T08:26:41-04:00</updated>

		<published>2003-11-01T08:26:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29289#p29289</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29289#p29289"/>
		<title type="html"><![CDATA[comparing/matching word &lt;-&gt; list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29289#p29289"><![CDATA[
try *[string tolower $name]* instead  and you probably should make the $namelist in lower-case too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Nov 01, 2003 8:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BiLL]]></name></author>
		<updated>2003-10-31T22:57:36-04:00</updated>

		<published>2003-10-31T22:57:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29280#p29280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29280#p29280"/>
		<title type="html"><![CDATA[comparing/matching word &lt;-&gt; list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29280#p29280"><![CDATA[
Blee!!!<br><br>Since one hour I am trying to find the correct if clause, I searched through the forum but didn't find a good solution.<br><br>My problem:<br><br>set name "BiLL"<br>set namelist "Martin Niklas BiLL Rudolf Dieter"<br><br>I want to look if $name is in $namelist (string tolower/-nocase prefered), but it always doesn't jump into my putserv. I tried a fewer other ways like string match ==, string compare ==, etc. but nothing worked. Anyone may help me?<br><br>if {[lsearch [string tolower *$name*] "[split $namelist]"] != -1} {<br>putserv "PRIVMSG $chan :Already in namelist!<br>return 0<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=50">BiLL</a> — Fri Oct 31, 2003 10:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
