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

	<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-03-28T11:31:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-03-28T11:31:00-04:00</updated>

		<published>2002-03-28T11:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5750#p5750</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5750#p5750"/>
		<title type="html"><![CDATA[http::geturl wackyness]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5750#p5750"><![CDATA[
What version is the eggdrop.<br><br>I have a feeling the DNS module in 1.6 series of eggdrop will help cure this issue.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Mar 28, 2002 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-25T05:08:00-04:00</updated>

		<published>2002-03-25T05:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5676#p5676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5676#p5676"/>
		<title type="html"><![CDATA[http::geturl wackyness]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5676#p5676"><![CDATA[
hmm.. I just had the fabulous idea of trying it on one of the several other bots I admin...<br><br>[dcc(netinfo)] .tcl package require http<br>11:04PM [netinfo(dcc)] Tcl: 2.0<br>[dcc(netinfo)] .tcl set token [http::geturl <a href="http://www.dreness.com/test.html" class="postlink">http://www.dreness.com/test.html</a>]<br>11:05PM [netinfo(dcc)] Tcl: ::http::1<br>[dcc(netinfo)] .tcl http::data $token<br>11:05PM [netinfo(dcc)] Tcl: This is only a test <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>sure enough, problem with the other eggdrop.. hmm, maybe I'll just run the script elsewhere...<br><br>-dre<p>Statistics: Posted by Guest — Mon Mar 25, 2002 5:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-25T04:53:00-04:00</updated>

		<published>2002-03-25T04:53:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5675#p5675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5675#p5675"/>
		<title type="html"><![CDATA[http::geturl wackyness]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5675#p5675"><![CDATA[
I'm having trouble getting http::geturl to fetch pages from within eggdrop. I can execute the following commands from the tclsh shell with no problem:<br><br>package require http<br>set token [http::geturl <a href="http://www.apple.com" class="postlink">http://www.apple.com</a>]<br>http::data $token<br><br>... and it dumps the data from the url just like it should.<br><br>This doesn't seem to work from within a script, and I can't even do it from within the eggdrop console itself. Here's me in dcc chat with the bot:<br><br>[dcc(xunder)] .tcl package require http<br>[xunder(dcc)] Tcl: 2.3<br>[dcc(xunder)] .tcl set token [::http::geturl <a href="http://www.apple.com" class="postlink">http://www.apple.com</a>]<br>[xunder(dcc)] TCL error: couldn't open socket: host is unreachable<br><br>No matter what hostname I try, the same error is returned... I've tried straight ip addresses, I've even tried localhost (there is a local web server), but no love. My system stats are as follows:<br><br>eggdrop 1.4.5 running on darwin 1.3.7 (mac os x server 10.0), using TCL 8.3.<br><br>I tend to think it's a problem with eggdrop itself, since tcl has no problem fetching the data itself from tclsh using http::geturl. Anybody have any suggestions on what the problem / solution is?<br><br>I guess I'll try another version of eggdrop tomorrow... just wanted to drop this here tonight to make sure I'm not doing anything wrong... I looked at a bunch of example code and my best guess is that this version of eggdrop is partially broken in mac os x server 10.0 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>Thanks,<br>-dre<p>Statistics: Posted by Guest — Mon Mar 25, 2002 4:53 am</p><hr />
]]></content>
	</entry>
	</feed>
