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

	<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>2005-08-31T11:14:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-31T11:14:20-04:00</updated>

		<published>2005-08-31T11:14:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55097#p55097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55097#p55097"/>
		<title type="html"><![CDATA[regexp can't output all submatchvar's]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55097#p55097"><![CDATA[
hmm your code is not Tcl, it's pseudo-code... post your actual code<br><br>and note that PRIVMSG will accept multiword strings only after a colon:<div class="codebox"><p>Code: </p><pre><code>PRIVMSG target :one two three</code></pre></div>actually, all IRC command that accept multiword string as their last parameter require that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Aug 31, 2005 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tore]]></name></author>
		<updated>2005-08-31T11:06:12-04:00</updated>

		<published>2005-08-31T11:06:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55095#p55095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55095#p55095"/>
		<title type="html"><![CDATA[regexp can't output all submatchvar's]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55095#p55095"><![CDATA[
Hi<br>This is my first try on a tcl script and i got a little problem..<br><br>I use the following code:<div class="codebox"><p>Code: </p><pre><code>regexp -nocase -line {&lt;b&gt;(.*)&lt;/b&gt;((.*))&lt;b&gt;Party&lt;/b&gt;(.*)&lt;br&gt;&lt;font color="#707070"&gt;(.*)&lt;/font&gt;&lt;br&gt;} $data match 1 2 3 4putserv "PRIVMSG $chan $1 $2"</code></pre></div>but i can't get it to output all variables in the same line it just outputs $1.<br><br>If i add a line with: <div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan $2"</code></pre></div>it output that variable to, but i cant output both $1 and $2 in the same line.<br><br>Therefor i simply ask, what have i missed out on?<br><br>thanks in advance,<br>Tore<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6668">Tore</a> — Wed Aug 31, 2005 11:06 am</p><hr />
]]></content>
	</entry>
	</feed>
