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

	<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>2006-04-16T15:39:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-04-16T15:39:18-04:00</updated>

		<published>2006-04-16T15:39:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61999#p61999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61999#p61999"/>
		<title type="html"><![CDATA[Lsearch HELP!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61999#p61999"><![CDATA[
Because <strong class="text-strong">[</strong> has a special meaning in glob match. Try skipping it (i.e. use \[ instead of just [).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Apr 16, 2006 3:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eric]]></name></author>
		<updated>2006-04-16T14:09:42-04:00</updated>

		<published>2006-04-16T14:09:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61996#p61996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61996#p61996"/>
		<title type="html"><![CDATA[Lsearch HELP!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61996#p61996"><![CDATA[
I need help with my script, i have problem with lsearch command, return bad value<br><br>Script:<br><br>#make a list<br>set List1 [list 5,83.21,Text1,text1 3,83.22,TeXt2,text2 1,83,23,Tex[t,tex[t]<br><br># List1 = {5,83.21,Text1,text1 3,83.22,TeXt2,text2 1,83,23,Tex[t,tex[t}<br><br>#list search<br>set Var1 {tex[t}<br>set Var2 "*,$Var1"<br>set VarIndex [lsearch $List1 $Var2]<br><br>VarIndex is set 0, when it must set 2.<br><br>Somebody can help me?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6879">eric</a> — Sun Apr 16, 2006 2:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
