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

	<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-09-24T13:39:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-09-24T13:39:34-04:00</updated>

		<published>2003-09-24T13:39:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27524#p27524</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27524#p27524"/>
		<title type="html"><![CDATA[Executing Shell commands and relaying??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27524#p27524"><![CDATA[
you're very welcome<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Wed Sep 24, 2003 1:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2003-09-24T08:41:52-04:00</updated>

		<published>2003-09-24T08:41:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27516#p27516</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27516#p27516"/>
		<title type="html"><![CDATA[Executing Shell commands and relaying??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27516#p27516"><![CDATA[
Thanks btw<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Wed Sep 24, 2003 8:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2003-09-22T12:17:55-04:00</updated>

		<published>2003-09-22T12:17:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27429#p27429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27429#p27429"/>
		<title type="html"><![CDATA[Executing Shell commands and relaying??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27429#p27429"><![CDATA[
oh you have got to be kidding me..<br><br>I was like sooo close to having it right then heh<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Mon Sep 22, 2003 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-09-22T10:45:54-04:00</updated>

		<published>2003-09-22T10:45:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27427#p27427</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27427#p27427"/>
		<title type="html"><![CDATA[Executing Shell commands and relaying??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27427#p27427"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set vhosts [exec vhosts]foreach line [split $vhosts "\n"] { puthelp "PRIVMSG $nick :$line" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Mon Sep 22, 2003 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2003-09-21T22:51:05-04:00</updated>

		<published>2003-09-21T22:51:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27413#p27413</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27413#p27413"/>
		<title type="html"><![CDATA[Executing Shell commands and relaying??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27413#p27413"><![CDATA[
Well I got the second half down, but I still dont know how to list the vhost's  the problem was simple.<br><br><div class="codebox"><p>Code: </p><pre><code>set statustxt "status.txt"set fs [open $statustxt r]set stats [read $fs 256]close $fsproc pub:status {nick host hand chan arg} {global statsputserv "PRIVMSG $nick :$stats"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Sun Sep 21, 2003 10:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2003-09-21T19:27:07-04:00</updated>

		<published>2003-09-21T19:27:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27410#p27410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27410#p27410"/>
		<title type="html"><![CDATA[Executing Shell commands and relaying??]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27410#p27410"><![CDATA[
Ok Im having some problems relaying information..<br><br>I.e<br><br>I want to execute the command "vhosts" which is no problem, the problem is how can I notice the user the vhost's on multiple lines?<br><br>like 127.0.0.1 localhost<br>127.0.0.2 localhost2<br>127.0.03 localhost3 <br><br>etc<br><br>Also havin the same problem when im trying to open a txt file with a "motd" a public command like !status to display whats in a text file but it  stops displaying inforamation after a space.<br><br>Like <br><div class="codebox"><p>Code: </p><pre><code>set motdtxt "motd.txt" set fs [open $motdtxt r]set motd [read $fs 256]</code></pre></div>and motd.txt will contain "Hello this is just a test of reading froma file"<br>It will just display Hello<br><br>Im stuck here <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Sun Sep 21, 2003 7:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
