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

	<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-10-10T13:43:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2003-10-10T13:43:38-04:00</updated>

		<published>2003-10-10T13:43:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28237#p28237</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28237#p28237"/>
		<title type="html"><![CDATA[Discussion, whats the difference?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28237#p28237"><![CDATA[
If you're having trouble with using list commands on strings, I suggest you read <a href="http://www.peterre.com/characters.html" class="postlink">http://www.peterre.com/characters.html</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Fri Oct 10, 2003 1:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarkerJr]]></name></author>
		<updated>2003-10-05T13:10:28-04:00</updated>

		<published>2003-10-05T13:10:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27984#p27984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27984#p27984"/>
		<title type="html"><![CDATA[Re: Discussion, whats the difference?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27984#p27984"><![CDATA[
<blockquote class="uncited"><div>set text [lindex $arg 0]<br><br>-Thats the bad way, how is it bad, will it crash the bot on special characters etc?</div></blockquote>If $arg is "[die]", tho bot will die when you lindex it.  Split protects that by making it a list, as Dedan stated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2933">BarkerJr</a> — Sun Oct 05, 2003 1:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dedan]]></name></author>
		<updated>2003-10-05T11:21:54-04:00</updated>

		<published>2003-10-05T11:21:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27977#p27977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27977#p27977"/>
		<title type="html"><![CDATA[Discussion, whats the difference?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27977#p27977"><![CDATA[
lindex is a "list" command.<br>the string needs to be changed from a string to a list.<br>the "split" command accomplishes this.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3472">Dedan</a> — Sun Oct 05, 2003 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darkj]]></name></author>
		<updated>2003-10-05T09:58:09-04:00</updated>

		<published>2003-10-05T09:58:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27972#p27972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27972#p27972"/>
		<title type="html"><![CDATA[Discussion, whats the difference?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27972#p27972"><![CDATA[
Ok, this will probably be like flame central, but I actually would like to know the differences when using the lindex command<br><br>set text [lindex $arg 0]<br><br>-Thats the bad way, how is it bad, will it crash the bot on special characters etc?<br><br>set text [lindex [split $arg] 0]<br><br>-Now this will display special characters?  If so, what characters are only shown with this version?<br><br>Probably some easier questions, but I just wanna figure this stuff out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3459">Darkj</a> — Sun Oct 05, 2003 9:58 am</p><hr />
]]></content>
	</entry>
	</feed>
