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

	<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>2005-12-17T09:38:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2005-12-17T09:38:50-04:00</updated>

		<published>2005-12-17T09:38:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58372#p58372</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58372#p58372"/>
		<title type="html"><![CDATA[Small sock problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58372#p58372"><![CDATA[
<a href="http://forum.egghelp.org/search.php" class="postlink">http://forum.egghelp.org/search.php</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Sat Dec 17, 2005 9:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-17T07:37:02-04:00</updated>

		<published>2005-12-17T07:37:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58368#p58368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58368#p58368"/>
		<title type="html"><![CDATA[Small sock problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58368#p58368"><![CDATA[
Can u show me example script "http package and its [geturl] command" ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sat Dec 17, 2005 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-17T07:36:08-04:00</updated>

		<published>2005-12-17T07:36:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58367#p58367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58367#p58367"/>
		<title type="html"><![CDATA[Small sock problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58367#p58367"><![CDATA[
Hmm, I understand only a sock.. really can`t change it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sat Dec 17, 2005 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-16T23:29:38-04:00</updated>

		<published>2005-12-16T23:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58361#p58361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58361#p58361"/>
		<title type="html"><![CDATA[Small sock problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58361#p58361"><![CDATA[
don't use raw sockets for HTTP, use the http package and its [geturl] command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Dec 16, 2005 11:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-16T13:31:23-04:00</updated>

		<published>2005-12-16T13:31:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58354#p58354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58354#p58354"/>
		<title type="html"><![CDATA[Small sock problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58354#p58354"><![CDATA[
I`ve a livescore script for my eggdrop. It works, but the problem is it gives results from down from bottom i want to see results from top and not only one, for example frist 5 please help me, thx.<br><div class="codebox"><p>Code: </p><pre><code>set url "www.pilkanozna.pl" proc get_news {nick uhost handle channel text} { global url set sock [socket $url 80] fconfigure $sock -buffering line -buffersize 1000 puts $sock "GET /pn.php?dzial=online HTTP/1.0" puts $sock "Host: www.pilkanozna.pl" puts $sock "" puts $sock "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; WindowsNT 5.0)" flush $sock while {![eof $sock]} { gets $sock body regexp -all {&lt;td align=right&gt;(.*?)&lt;/td&gt;} $body _ team1 regexp -all {&lt;td align=center&gt;(.*?)&lt;/td&gt;} $body _ result regexp -all {&lt;td align=left&gt;(.*?)&lt;/td&gt;} $body _ team2}if {[eof $sock]} { close $sock } regsub -all {(&lt;.+?&gt;)} $team1"" team1 regsub -all {(&lt;.+?&gt;)} $result"" result regsub -all {(&lt;.+?&gt;)} $team2"" team2 puthelp "PRIVMSG $channel :[lindex $team1][lindex $result][lindex $team2]"}bind pub - !score get_news</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Fri Dec 16, 2005 1:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
