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

	<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>2009-01-02T21:16:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-01-02T21:16:14-04:00</updated>

		<published>2009-01-02T21:16:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86689#p86689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86689#p86689"/>
		<title type="html"><![CDATA[delimiter or split :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86689#p86689"><![CDATA[
foreach item [split $nicks] {<br>  set nick[expr {[lsearch [split $nicks] $item] + 1}] $item<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Fri Jan 02, 2009 9:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2009-01-02T11:42:41-04:00</updated>

		<published>2009-01-02T11:42:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86673#p86673</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86673#p86673"/>
		<title type="html"><![CDATA[delimiter or split :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86673#p86673"><![CDATA[
thnx a lot i am going to try it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Fri Jan 02, 2009 11:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2009-01-02T11:03:04-04:00</updated>

		<published>2009-01-02T11:03:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86672#p86672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86672#p86672"/>
		<title type="html"><![CDATA[delimiter or split :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86672#p86672"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set nicks "nick1 nick2 nick3 nick4 nick5"#use this if there could be more than 5 nicks in $nicksfor {set i 0} {$i &lt; 6} {incr i} { set nick[expr $i + 1] [lindex [split $nicks] $i]}#or you could use this if it conatins max 5 nicksforeach {nick1 nick2 nick3 nick4 nick5} [split $nicks ]  {}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jan 02, 2009 11:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2009-01-02T10:26:19-04:00</updated>

		<published>2009-01-02T10:26:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86671#p86671</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86671#p86671"/>
		<title type="html"><![CDATA[delimiter or split :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86671#p86671"><![CDATA[
hello.. i have one variable $nicks and inside i set some nicks like "nick1 nick2 nick3 nick4 nick5" is it possible to split the variable and set the nick1 like $nick1 = nick1 (from previus variable after split) $nick2 = nick2 ... up to nick5 just want to split the 1st variable to 5 like nicks..<br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Fri Jan 02, 2009 10:26 am</p><hr />
]]></content>
	</entry>
	</feed>
