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

	<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-02-27T19:14:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-27T19:14:46-04:00</updated>

		<published>2006-02-27T19:14:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60707#p60707</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60707#p60707"/>
		<title type="html"><![CDATA[regexp returning values into variables stored in oneVariable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60707#p60707"><![CDATA[
Try<div class="codebox"><p>Code: </p><pre><code>set tmp {nick rank}regexp -all {(.*)\s(.*)} - [lindex $tmp 0] [lindex $tmp 1]</code></pre></div>in this case, you just have to change the order of nick and rank in tmp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Feb 27, 2006 7:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dwickie]]></name></author>
		<updated>2006-02-27T18:11:30-04:00</updated>

		<published>2006-02-27T18:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60706#p60706</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60706#p60706"/>
		<title type="html"><![CDATA[regexp returning values into variables stored in oneVariable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60706#p60706"><![CDATA[
iam trying to do simple thing, there is example:<br><div class="codebox"><p>Code: </p><pre><code>regexp -all {(.*)\s(.*)} - nick rank</code></pre></div>this will store first (.*) into $nick and second (.*) into $rank, but if i will do it this way:<br><div class="codebox"><p>Code: </p><pre><code># because on some channels is it for example "rank nick"set tmp "nick rank"regexp -all {(.*)\s(.*)} - $tmp</code></pre></div>this wont work :/ it will store first (.*) into variable ${nick rank}<br><br>i know solution is probably simple, but i cant figure it out. can someone help me? <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=5343">dwickie</a> — Mon Feb 27, 2006 6:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
