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

	<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-28T18:09:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-28T17:57:38-04:00</updated>

		<published>2003-10-28T17:57:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29118#p29118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29118#p29118"/>
		<title type="html"><![CDATA[Substituting in a string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29118#p29118"><![CDATA[
thx, that helped me out, the script is running fine now, it even escaped the chars ; and $ out. Don't need to work around that anymore <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by Guest — Tue Oct 28, 2003 5:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-10-28T18:09:16-04:00</updated>

		<published>2003-10-28T16:24:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29114#p29114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29114#p29114"/>
		<title type="html"><![CDATA[Re: Substituting in a string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29114#p29114"><![CDATA[
{} defeats variable/command substitution. Use 'list' to make the map.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Oct 28, 2003 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-28T16:18:27-04:00</updated>

		<published>2003-10-28T16:18:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29113#p29113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29113#p29113"/>
		<title type="html"><![CDATA[Substituting in a string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29113#p29113"><![CDATA[
Hi,<br>what do i have to do to let te following command subtitute de %n in a string with the variable $nick and so on?<br><br>[string map -nocase {%n "$nick" %1 "[lindex $args 0]" %2 "[lindex <br>$args 1]" %3 "[lindex $args 0]"} [join $command_output " "]]<p>Statistics: Posted by Guest — Tue Oct 28, 2003 4:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
