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

	<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-07-07T04:03:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-07T04:03:19-04:00</updated>

		<published>2002-07-07T04:03:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8661#p8661</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8661#p8661"/>
		<title type="html"><![CDATA[All is right !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8661#p8661"><![CDATA[
YEahh all is right i use http2.1.tcl mods with it and it works quite good  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br>Really good and i want to tell you a big txs for your help !<br>@++<br>PsyKotrOp<p>Statistics: Posted by Guest — Sun Jul 07, 2002 4:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-07-06T23:04:36-04:00</updated>

		<published>2002-07-06T23:04:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8655#p8655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8655#p8655"/>
		<title type="html"><![CDATA[search a txt on the web]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8655#p8655"><![CDATA[
You need to get your admin to upgrade your Tcl. I tried to recode the script using egghttp, but for some reason this page causes eggdrop to kill the socket. I honestly don't have the time to code this using asynch sockets right now.<br><br>I did notice a few bugs, however:<br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub o|o !test pub:titreproc getsong_get {url} {  if {[catch {set tok [::http::geturl $url]} error]} {    return "An error occurred while connecting to $url."  }  set data [::http::data $tok]  ::http::cleanup $tok  return $data}proc pub:titre {nick uhost hand chan text} {  puthelp "NOTICE $nick :[getsong_get http://fulgore.goyman.com/~zone80/titre.php]"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sat Jul 06, 2002 11:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-06T14:49:08-04:00</updated>

		<published>2002-07-06T14:49:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8644#p8644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8644#p8644"/>
		<title type="html"><![CDATA[make your proc but no results..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8644#p8644"><![CDATA[
bind pub o|o !test pub:titre <br><br>proc getsong_get {url} { <br>  if {[catch {set tok [::http::geturl $url]} error]} { <br>    putlog "An error occurred while connecting to $url." <br>    return <br>  } <br>  if {[::http::ncode $tok] != 200} { <br>    putlog "An error occurred while connecting to $url." <br>    ::http::cleanup $tok <br>    return <br>  } <br>  set data [::http::data $tok] <br>  ::http::cleanup $tok <br>  return $data <br>} <br><br>proc pub:titre { nick uhost handle channel data} {<br><br>  getsong_get fulgore.goyman.com/~zone80/titre.php<br>  puthelp "NOTICE $nick : $data"<br>}<br><br><br>Result : <br><br>[19:31] An error occurred while connecting to <a href="http://fulgore.goyman.com/~zone80/titre.php" class="postlink">http://fulgore.goyman.com/~zone80/titre.php</a>.<p>Statistics: Posted by Guest — Sat Jul 06, 2002 2:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-07-06T13:09:41-04:00</updated>

		<published>2002-07-06T13:09:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8641#p8641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8641#p8641"/>
		<title type="html"><![CDATA[search a txt on the web]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8641#p8641"><![CDATA[
Here is a proc to actually return the song:<br><div class="codebox"><p>Code: </p><pre><code>proc getsong_get {url} {  if {[catch {set tok [::http::geturl $url]} error]} {    putlog "An error occurred while connecting to $url."    return  }  if {[::http::ncode $tok] != 200} {    putlog "An error occurred while connecting to $url."    ::http::cleanup $tok    return  }  set data [::http::data $tok]  ::http::cleanup $tok  return $data}</code></pre></div>If you need help with another aspect of this, be more specific <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sat Jul 06, 2002 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-06T08:24:13-04:00</updated>

		<published>2002-07-06T08:24:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8639#p8639</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8639#p8639"/>
		<title type="html"><![CDATA[search a txt on the web]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8639#p8639"><![CDATA[
Hello is there anybody who can tell me how my bot can display on channel the text on this url : <a href="http://fulgore.goyman.com/~zone80/titre.php" class="postlink">http://fulgore.goyman.com/~zone80/titre.php</a><br><br>this is the title of my radio at the moment. how can i make the bot disply it on channel ?<br><br>Txs for your help !  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by Guest — Sat Jul 06, 2002 8:24 am</p><hr />
]]></content>
	</entry>
	</feed>
