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

	<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-11-24T19:37:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-24T19:37:28-04:00</updated>

		<published>2003-11-24T19:37:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30651#p30651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30651#p30651"/>
		<title type="html"><![CDATA[readfile tcl script mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30651#p30651"><![CDATA[
<blockquote class="uncited"><div>set listmc(!trigger-&lt;variable&gt;) &lt;variable&gt;.txt</div></blockquote>I think what I am missing here then is what exactly do I write in place of <strong class="text-strong">&lt;variable&gt;</strong> so I can use just this one set instead of a set line for each trigger/file.<p>Statistics: Posted by Guest — Mon Nov 24, 2003 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2003-11-24T13:05:03-04:00</updated>

		<published>2003-11-24T13:05:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30623#p30623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30623#p30623"/>
		<title type="html"><![CDATA[readfile tcl script mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30623#p30623"><![CDATA[
your try is good:<blockquote class="uncited"><div>set listmc(!trigger-&lt;variable&gt;) &lt;variable&gt;.txt </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Nov 24, 2003 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-23T18:19:50-04:00</updated>

		<published>2003-11-23T18:19:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30589#p30589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30589#p30589"/>
		<title type="html"><![CDATA[readfile tcl script mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30589#p30589"><![CDATA[
Since I had no luck trying to contact the author of mc.readfile.tcl (v1.4) I thought someone here might be able to help me with a modifcation. The script reads from a specific file based on a public trigger (ex. !help) and privmsg the contents of the file to the requestor. For every trigger you have a different set line:<br><br>set listmc(&lt;trigger&gt;) &lt;filename&gt;.txt<br><br>I would like to find a way to modify this to something along these lines:<br><br>set listmc(!trigger-&lt;variable&gt;) &lt;variable&gt;.txt<br><br>This would allow one set line to cover multiple files/triggers (ex. !channel-help gets help.txt while !channel-rules gets rules.txt).<br><br>How might I go about getting this functionality?<br><br><br>-Ganghiss<p>Statistics: Posted by Guest — Sun Nov 23, 2003 6:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
