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

	<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>2002-01-20T13:03:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-01-20T13:03:00-04:00</updated>

		<published>2002-01-20T13:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3903#p3903</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3903#p3903"/>
		<title type="html"><![CDATA[Communicating with the bot externally]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3903#p3903"><![CDATA[
Eggdrop (and Tcl itself) have socket scripting abilities.<br><br>You can code a socket/listening connection in Tc, and load it in eggdrop. Then use PHP's socket abilities to link directly to eggdrop, and thus using your own defined protocol.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Jan 20, 2002 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-01-20T12:42:00-04:00</updated>

		<published>2002-01-20T12:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=3902#p3902</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=3902#p3902"/>
		<title type="html"><![CDATA[Communicating with the bot externally]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=3902#p3902"><![CDATA[
<br>I have a webpage written in php and I would like the php script to send messages to the Eggdrop, which it would then read out.<br><br>At the moment Im making the php script write to a file on the disk. Ive then written a tcl script that reads this file every minute, and outputs what it finds in it.<br><br>Id really like to talk to the bot directly, so it outputs the message instantly. I thought about using the telnet facilities, but I think it would be overkill to log in this way each time.<br><br>Anyone have any ideas?<p>Statistics: Posted by Guest — Sun Jan 20, 2002 12:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
