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

	<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-09-03T06:36:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-03T06:36:48-04:00</updated>

		<published>2002-09-03T06:36:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10380#p10380</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10380#p10380"/>
		<title type="html"><![CDATA[http.tcl help/howto]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10380#p10380"><![CDATA[
thx for the help, but after i wrote the post i found a short command-reference and i'm now about as far as you  just said, before i read id <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>but thx anyway<br><br>greejtz, zygo.<p>Statistics: Posted by Guest — Tue Sep 03, 2002 6:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-02T19:24:20-04:00</updated>

		<published>2002-09-02T19:24:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10369#p10369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10369#p10369"/>
		<title type="html"><![CDATA[http.tcl help/howto]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10369#p10369"><![CDATA[
<a href="http://www.tcl.tk/man/tcl8.4/TclCmd/http.htm" class="postlink">documentation</a><br><br>Your quick howto:<br><br>You can either have a callback, (it gets the page then calls another procedure) or, you can use it just to get it there and then.. (but this is dangerous as it can cause the eggdrop to freeze if it is unavaliable)<div class="codebox"><p>Code: </p><pre><code>set token [::http::geturl "http://www.egghelp.com]set data [::http::data $token]</code></pre></div>$data now contains the egghelp.com 'index'.<br><br>alternatively..<br><div class="codebox"><p>Code: </p><pre><code>set mydata "$nick"set token [::http::geturl "http://www.egghelp.com" -command [list mycallback "$mydata"]]&lt;snip&gt;proc mycallback {mydata token} {  set data [::http::data $token]  putserv "PRIVMSG $mydata :Hellow there! Prepare to be drowned in egghelp.com!"  foreach z [split $data \n] {    putserv "PRIVMSG $mydata :$z"  }}</code></pre></div><p>Statistics: Posted by Guest — Mon Sep 02, 2002 7:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-02T15:40:24-04:00</updated>

		<published>2002-09-02T15:40:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10348#p10348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10348#p10348"/>
		<title type="html"><![CDATA[http.tcl help/howto]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10348#p10348"><![CDATA[
Hi all.<br><br>I'm working on a imdb script (another one?, yes, another one, need a special one <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">), but i need to work with http.tcl package for it. I got a other imdb script what i'm using as a kinda 'source' for my script. The only problem is i don't realy get (good enough) how the http.tcl works. I checked the tcl dir in linux on my shell and found the package, but no documentation in that dir nor an url in the .tcl file for help or anything.<br>So has any1 a url or how-to or doc. for the http.tcl package so i can learn what it does and how it works??<br><br>Thx, zygomaticum.<p>Statistics: Posted by Guest — Mon Sep 02, 2002 3:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
