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

	<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-03-20T04:46:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[haferbrei]]></name></author>
		<updated>2021-03-20T04:46:45-04:00</updated>

		<published>2021-03-20T04:46:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109580#p109580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109580#p109580"/>
		<title type="html"><![CDATA[inotify directory]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109580#p109580"><![CDATA[
u need only the tcl-ionotify modul.<br>thats it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12860">haferbrei</a> — Sat Mar 20, 2021 4:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2021-01-13T05:50:32-04:00</updated>

		<published>2021-01-13T05:50:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109340#p109340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109340#p109340"/>
		<title type="html"><![CDATA[inotify directory]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109340#p109340"><![CDATA[
I guess the <em class="text-italics">listen</em> with script as argument would be your best bet.<div class="codebox"><p>Code: </p><pre><code>listen &lt;port&gt; script &lt;proc&gt; [flag]Description: accepts connections which are immediately routed to a proc. The proc is called with one parameter: the idx of the new connection. Flag may currently only be 'pub', which makes the bot allow anyone to connect and not perform an ident lookup. Returns: port number</code></pre></div>user (a forum member, sadly no longer active) created a <a href="http://forum.egghelp.org/viewtopic.php?t=13113" class="postlink">socket api - nonblocking tcp made easy</a> that is worth checking.<br><br>Haven't played with this feature and not sure what arguments and how you can pass them to the proc that's listening for your connection.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jan 13, 2021 5:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[haferbrei]]></name></author>
		<updated>2021-01-13T02:39:30-04:00</updated>

		<published>2021-01-13T02:39:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109339#p109339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109339#p109339"/>
		<title type="html"><![CDATA[inotify directory]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109339#p109339"><![CDATA[
I am watching a directory for new files in Bash. <br>When a file is created, the file name will be output to the pipe (-&gt; /tmp/directory/filename.ext) and exit.<br><br>$ inotifywait /tmp/directory/<br><br><br><br><br>How can I submit this to eggdrop so it will output the filename in a channel? Anybody have an idea?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12860">haferbrei</a> — Wed Jan 13, 2021 2:39 am</p><hr />
]]></content>
	</entry>
	</feed>
