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

	<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-01-04T18:04:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-04T18:04:31-04:00</updated>

		<published>2003-01-04T18:04:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14897#p14897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14897#p14897"/>
		<title type="html"><![CDATA[Load multiple conf files?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14897#p14897"><![CDATA[
The config file, is infact a Tcl script in itself, in it's simplest form.<br><br>The source command is provided by Tcl, and serves the same purposeas "include".<br><br>As such, you can have you 4 line config file, then append a simple source line, to load the rest of the repeated stuff.<br><br>I use this method for my bots.<br><br>I use 4 files for each bot.<br><br>1: Contains the server list, so It's dead simple to edit one file.<br><br>2: Is the static settings<br><br>3: Is the per bot settings like IP, host, nickname botnickname and so on<br><br>4: Is a dynamic file. It's a small script, desined to make the userfile, channels and notes filenames, out of the information provided, and converting nasty charcters into ones that can be used for filenames.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Jan 04, 2003 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scr0llwheel]]></name></author>
		<updated>2003-01-04T17:46:38-04:00</updated>

		<published>2003-01-04T17:46:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14896#p14896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14896#p14896"/>
		<title type="html"><![CDATA[Load multiple conf files?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14896#p14896"><![CDATA[
Currently, I have 4 bots running on the same machine. They use their own conf files but the conf files are all exactly the same (except for the 4 changes I had to make in each one to change the name of each bot and it's user file, etc.). Is there a way to instead have a master eggdrop.conf file that is loaded for each bot and then I would have a small conf file specifically for each bot that just has the settings for it's name, etc. This would allow me to easily change .conf file settings in just one file -- not 4. Is there something like an <strong class="text-strong">include</strong> command? Or maybe it could be done through a <strong class="text-strong">script</strong>? How about editing the actual source files?<br><br>Basically, I want 2 conf files loaded for each bot -- the master one and the small one (with the name settings).<br><br>Any help/ideas/suggestions would be appreciated.<br>Thanks,<br>scr0llwheel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2465">scr0llwheel</a> — Sat Jan 04, 2003 5:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
