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

	<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>2021-04-16T22:24:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[haferbrei]]></name></author>
		<updated>2021-04-16T22:24:32-04:00</updated>

		<published>2021-04-16T22:24:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109750#p109750</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109750#p109750"/>
		<title type="html"><![CDATA[Output to channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109750#p109750"><![CDATA[
How can I putquick "PRIVMSG $chan :$pack arrives." in the channel before exec is executed?<br>currently it is not output until exec is done.<br><br><br><div class="codebox"><p>Code: </p><pre><code>set binary {/etc/eggdrop/bashscript.sh}putquick "PRIVMSG $chan :$pack arrives."        foreach line [split [exec $binary $pack] "\n"] {            putquick "PRIVMSG $chan :$line"        }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12860">haferbrei</a> — Fri Apr 16, 2021 10:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[haferbrei]]></name></author>
		<updated>2021-03-08T19:36:49-04:00</updated>

		<published>2021-03-08T19:36:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109495#p109495</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109495#p109495"/>
		<title type="html"><![CDATA[Output to channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109495#p109495"><![CDATA[
How can I output the intermediate output directly from a script?<br>Currently it is only output after the script has finished.<br><br>Actually i call a shell script to execute a lot of things.<div class="codebox"><p>Code: </p><pre><code>set binary {./script.sh}foreach line [split [exec $binary $pack $pack2 $nick] "\n"] {      putquick "PRIVMSG $chan :$line" }}</code></pre></div>my idea would be to split the shell script into x scripts and call them one after the other.<br>is it also possible to do it more elegantly?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12860">haferbrei</a> — Mon Mar 08, 2021 7:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
