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

	<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>2007-11-29T02:40:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-11-29T02:40:57-04:00</updated>

		<published>2007-11-29T02:40:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78781#p78781</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78781#p78781"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78781#p78781"><![CDATA[
I actually know a website that offers downloads of the tcl scripts from the tcl archive. Dunno if the code is modifyed to say that it isn't the authors work or not but the website has him down as the creator <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> shocking the lengths people will go to sometimes. So i can't really blame people for wanting to do everything possible to prevent there code from being ripped. <blockquote class="uncited"><div>I also agree totally with metroid's comment, but i ask this, how do you track down an author of a tcl script that no longer frequents any boards or irc networks? their emails are also defunct.</div></blockquote> Its common etiquette to do that, and alot of people here do say that to people when they ask for help/support with modifying or editing other peoples code on this forum.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Thu Nov 29, 2007 2:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragonRyder]]></name></author>
		<updated>2007-11-23T04:02:04-04:00</updated>

		<published>2007-11-23T04:02:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78613#p78613</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78613#p78613"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78613#p78613"><![CDATA[
I also agree totally with metroid's comment, but i ask this, how do you track down an author of a tcl script that no longer frequents any boards or irc networks? their emails are also defunct.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9485">DragonRyder</a> — Fri Nov 23, 2007 4:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-15T19:17:08-04:00</updated>

		<published>2007-10-15T19:17:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76778#p76778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76778#p76778"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76778#p76778"><![CDATA[
iamdeath: metroid's comment was directed at the apparent "lesson" on how to deobfuscate.<br><br>I agree totally with metroid's comment.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Oct 15, 2007 7:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-15T17:04:24-04:00</updated>

		<published>2007-10-15T17:04:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76774#p76774</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76774#p76774"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76774#p76774"><![CDATA[
if my post is soo annoying I close it and expecting no more replies. but I meant was to fix bugs anyway I will try to recreate that tcl which is going to be hard for me.<br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Oct 15, 2007 5:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-10-15T16:10:16-04:00</updated>

		<published>2007-10-15T16:10:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76771#p76771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76771#p76771"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76771#p76771"><![CDATA[
Alchera is right, it's why I stopped releasing scripts and frankly I don't really care much for eggdrop scripts anymore anyway.<br><br>I don't think that people here should be deobfuscating scripts that don't belong to them, another good reason why people stop making these things if others will just deobfuscate them when asked.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Oct 15, 2007 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-15T12:54:55-04:00</updated>

		<published>2007-10-15T12:54:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76763#p76763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76763#p76763"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76763#p76763"><![CDATA[
Well, "\151" is just another way of writing "i". That is an "escaped character". Just like "\u66" is another way of writing "f". Hence "\151\u66" is just another way of writing "if"...<br><br>You should be fairly familiar with the <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M34" class="postlink">string map</a> command by now...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Oct 15, 2007 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-15T11:56:37-04:00</updated>

		<published>2007-10-15T11:56:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76760#p76760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76760#p76760"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76760#p76760"><![CDATA[
Thanks but kinda hard to understand ;/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Oct 15, 2007 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-15T09:31:12-04:00</updated>

		<published>2007-10-15T09:31:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76755#p76755</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76755#p76755"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76755#p76755"><![CDATA[
As stated in an earlier post, these kind of obfuscations are very easy to break.<br>In this case, the first part is simply escaped characters in a poor attempt to hide this string: "if 7607512 [string map ......]"<br><br>Now we know the rest of the block is simply two arguments for "string map", so we extract them;<div class="codebox"><p>Code: </p><pre><code>set key {n &gt; | = h \} b &lt; y | 2 \{ S {;} G : : z * 9 = y E 8 \} x a w {;} 7 c v {"} 6 ( u 5 5 p t q s l 3 u r \\ 2 {$} 1 z q t 0 v p 8 / , o { } . F n 1 - r m D l e , M k m + w * T i V ) &amp; h A ( g g + f {} &amp; P e 6 % I {$} \] d &gt; # x c U {"} k b o a 0 { } - \] N \\ f {[} C Y 7 X 3 V ) U L T X S \{ R Y P H O 9 N . M i L R {} # I &lt; H s G d F O E / D {[} C % A}</code></pre></div>Finally, we know that the rest of the data must be the last parameter:<div class="codebox"><p>Code: </p><pre><code>set crypt "vu,x0FP\}propx&amp;02FTxM0(&amp;,qp0&amp;oF\]DP0x&amp;oFFPD0pP\}ph02RR00&gt;1110/,aFD,o\]0#F+,R00T+02fxopx&amp;02qPp0q,xM0Ufq,xMPp0x,FpPFp1(qo\ xuTxTF+,\ x,r0Et-Uh0Puu,u-0||0UtUh02R0000v(pq0Iq,xM0UsOL08xT8x,FpPFp8ropx&amp;8+T\}p(uPq8DTcP\ &amp;prD0&lt;LLY8\$\ tUR0000v(pq0Iq,xM0U%xxPvpG0pP\}p8&amp;prDUR0000v(pq0Iq,xM0U&lt;,qpG0x,FpPFp1(qo\ xuTxTF+,\ x,rUR0000v(pq0Iq,xM0U)qPu1%gPFpG0.,:TDDo85\ t0A7\$\$S0)S0iTF(\}0T\"E\"S0PF1)XS0ucGt\ *\ *VUR0000v(pq0Iq,xM0U\[,FFPxpT,FG0xD,qPUR0000v(pq0Iq,xM0UUR0000+D(q&amp;0Iq,xMRR0000&gt;1110&lt;Po\]PuR0000v(pz(TxM0UY\{#3.Xs0IFTxM0GNtl\;Nttlttet\"d,up&amp;x,rTFg0iTcP0\[,cPuogPNttlNtl\;UR0000v(pz(TxM0UY\{#3.Xs0IFTxM0GNtl\;/opP0000000000LTrP0000000000000.opx&amp;Ntl\;URR0000&gt;1110dTDpPuTFg0#F+,R0000a&amp;TDP02fgPpq0Iq,xM0&amp;prD-0n|0UtUh02R000000T+02fqpuTFg0ropx&amp;01F,xoqP0Uwbpu0coDTgF|p,vwnwU0I&amp;prD-0||0U\$Uh02R00000000qPp0\}0UtUR00000000qPp0DTFP0UUR00000000qPp0x,D,u0UI&amp;prDUR000000h0PDqPT+02fqpuTFg0ropx&amp;01F,xoqP0Uwbp\]0F,auovnwU0I&amp;prD-0||0U\$Uh02R00000000qPp0DTFP0UI2DTFPhfDuoFgP0fgPpq0Iq,xM-0t0\$-0URR00000000T+02fTFxu0\}-0n|0U\\Uh02R0000000000gPpq0Iq,xM0&amp;prDR0000000000gPpq0Iq,xM0&amp;prDR0000000000a&amp;TDP02fgPpq0Iq,xM0&amp;prD-0n|0UtU0\n\n0fqpuTFg0ropx&amp;01F,xoqP0Uwnd,uPxoqpbwU0I&amp;prD-0||0UtUh02R000000000000T+02fqpuTFg0ropx&amp;01F,xoqP0UwbkunwU0I&amp;prD-0||0U\$U0yy0fqpuTFg0ropx&amp;01F,xoqP0Uwb8p\]nwU0I&amp;prD-0||0U\$Uh02R00000000000000uPgP\}v02\ &amp;prDUnA\ mVb8onh0I&amp;prD0ropx&amp;0&amp;prDR00000000000000uPgP\}v02A\ mVbkunh0I&amp;prD0ropx&amp;0&amp;prDR00000000000000uPgP\}v02A\ mV0b8p\]nh0I&amp;prD0ropx&amp;0&amp;prDR00000000000000qPp0DTFP0UI2DTFPh0I2&amp;prDh\ UR000000000000hR0000000000hR0000000000FP\}propx&amp;GDTFP0IFTxM0Ix,D,u0IDTFPR00000000hRR000000hR0000hRR0000&gt;1110d,,pPuR0000v(pz(TxM0UY\{#3.Xs0IFTxM0GNtl\;Nttlttet\"\[(uuPFp0/opPG0fqpu+pTrP0U6oe06\]06k06C06&lt;G6.G6XU-NttlNtl\;URR0000xD,qP0Iq,xMR00h0PDqP02R0000v(pz(TxM0U9HL#\[O0IFTxM0GLTrP,(p0a&amp;TDP0z(Pu=TFg0XPucPu\ UR00hRh"</code></pre></div>Now, having these parts separated, we can easily get the output doing something like this:<div class="codebox"><p>Code: </p><pre><code>set data [string map $key $crypt]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Oct 15, 2007 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-15T07:25:48-04:00</updated>

		<published>2007-10-15T07:25:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76751#p76751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76751#p76751"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76751#p76751"><![CDATA[
well it was coded by one of my friend who has quit IRC the problem is that we encoded those scripts so that no one on the shell will ever steal the code and the backup I had in my harddisk was gone due to harddisk failure. So now I have some problems coming up using that tcl. If I had that decoded I mean the whole script I have just shown half of it.. I will be able to use it further.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Mon Oct 15, 2007 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-14T20:51:01-04:00</updated>

		<published>2007-10-14T20:51:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76747#p76747</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76747#p76747"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76747#p76747"><![CDATA[
Actually, obfuscating is'nt quite in line with GPL or similar licenses, as the main objective with most of these licenses are re-usable code.<br><br>Actually, when speaking in terms of the General Public License, there is no requirement whatsoever in contacting anyone in the chain of authors, as long as the resulting code complies with the GPL license. You'd usually only have to contact those if you would like to use your code outside the context of the GPL, requesting concent from any and all contributing authors of the work you based your on work upon.<br>Also, whenever releasing any work under GPL, you are required to provide a sourcecode copy to whomever have recived a license for the work in question. Not releasing an un-obfuscated version of the (GPL'd) work might in itself be a violation of GPL.<br><br>Now, wether this speciffic script was released under GPL or some other licensing (open source or otherwize) was never specified in the original post.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Oct 14, 2007 8:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-14T20:29:05-04:00</updated>

		<published>2007-10-14T20:29:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76746#p76746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76746#p76746"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76746#p76746"><![CDATA[
<blockquote class="uncited"><div>Authors find it necessary to obfuscate (obscure) their code because there are users that simply ignore the <a href="http://www.gnu.org/licenses/gpl-3.0.txt" class="postlink">GNU General Public Licence</a> and (apparently) have no concept of the  <a href="http://www.opensource.org/docs/osd" class="postlink">The Open Source Definition</a>.<br><br><em class="text-italics">Many</em> excellent coders have simply "packed their bags" and left because of this continuous code ripping and credit being taken for another's hard effort.<br><br><strong class="text-strong">Every</strong> effort should be made to contact author's regarding any modification to their code a particular user would like (or a feature added).<br><br>It is interesting that the original poster simply stated "because the author of that tcl is missing" <span style="text-decoration:underline">without</span> actually revealing the author or posting the script.</div></blockquote>I do agree with you Alchera but I with no intension want this code to be decode so that I could change authors credit. All I wanted is to decode the script so that I could fix some bugs and use it for my channel. Credits are changed by kids who know nothing about what they're doing, I think I know a little about tcl scripting what I have learnt from this forum. If this decode thing is easily to understand it will be easier for me to tackle or solve my problem but if it is not possible then I am dont mind I can find any other way or try making that script again which will be kind of hard for me. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Oct 14, 2007 8:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-14T20:09:20-04:00</updated>

		<published>2007-10-14T20:09:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76744#p76744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76744#p76744"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76744#p76744"><![CDATA[
Authors find it necessary to obfuscate (obscure) their code because there are users that simply ignore the <a href="http://www.gnu.org/licenses/gpl-3.0.txt" class="postlink">GNU General Public Licence</a> and (apparently) have no concept of the  <a href="http://www.opensource.org/docs/osd" class="postlink">The Open Source Definition</a>.<br><br><em class="text-italics">Many</em> excellent coders have simply "packed their bags" and left because of this continuous code ripping and credit being taken for another's hard effort.<br><br><strong class="text-strong">Every</strong> effort should be made to contact author's regarding any modification to their code a particular user would like (or a feature added).<br><br>It is interesting that the original poster simply stated "because the author of that tcl is missing" <span style="text-decoration:underline">without</span> actually revealing the author or posting the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Oct 14, 2007 8:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-14T15:15:45-04:00</updated>

		<published>2007-10-14T15:15:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76737#p76737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76737#p76737"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76737#p76737"><![CDATA[
<blockquote class="uncited"><div>De-obfuscating this is pretty easy...  just try something like this:<div class="codebox"><p>Code: </p><pre><code>set myvar "\151\u66 \u37......."</code></pre></div></div></blockquote>Can you please be more specific <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Oct 14, 2007 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-14T15:07:35-04:00</updated>

		<published>2007-10-14T15:07:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76735#p76735</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76735#p76735"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76735#p76735"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>proc nextmatch {nick uhost handle channel text} {    #--- Download Info   if {[catch {set sock "[socket content-usa.cricinfo.com 80]"} error] == "0"} {     puts $sock "GET /ci/content/match/fixtures/live.html HTTP/1.0"     puts $sock "Accept: text/html"     puts $sock "Host: content-usa.cricinfo.com"     puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)"     puts $sock "Connection: close"     puts $sock ""     flush $sock      #--- Header     putquick "PRIVMSG $nick :\037\00300,06Forthcoming Live Coverage\003\037"     putquick "PRIVMSG $nick :\037Date          Time             Match\037"      #--- Filtering Info     while {[gets $sock html] &gt;= "0"} {       if {[string match -nocase "*&lt;tr valign=top*&gt;*" $html] == "1"} {         set x "0"         set line ""         set color "$html"       } elseif {[string match -nocase "*&lt;td nowrap&gt;*" $html] == "1"} {         set line "${line}[lrange [gets $sock] 0 1] "          if {[incr x] &gt;= "2"} {           gets $sock html           gets $sock html           while {[gets $sock html] &gt;= "0"  [string match -nocase "*&gt;Forecast&lt;*" $html] == "0"} {             if {[string match -nocase "*&lt;br&gt;*" $html] == "1" || [string match -nocase "*&lt;/td&gt;*" $html] == "1"} {               regexp {.html"&gt;(.+)&lt;/a&gt;} $html match html               regexp {(.+)&lt;br&gt;} $html match html               regexp {(.+) &lt;/td&gt;} $html match html               set line "${line} ${html}."             }           }           nextmatch:line $nick $color $line         }        }     }      #--- Footer     putquick "PRIVMSG $nick :\037\00300,06Current Date: [strftime "%a, %d %b %Y %H:%M:%S"]\003\037"      close $sock   } else {     putquick "NOTICE $nick :Timeout while querying Server."   } }</code></pre></div>That's it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"></div></blockquote><br>Thanks alot man, but how did you do that? could you please teach me.<br><br>Thanks<br>iamdeath<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Oct 14, 2007 3:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2007-10-14T09:45:55-04:00</updated>

		<published>2007-10-14T09:45:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76726#p76726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76726#p76726"/>
		<title type="html"><![CDATA[decode]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76726#p76726"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc nextmatch {nick uhost handle channel text} {    #--- Download Info   if {[catch {set sock "[socket content-usa.cricinfo.com 80]"} error] == "0"} {     puts $sock "GET /ci/content/match/fixtures/live.html HTTP/1.0"     puts $sock "Accept: text/html"     puts $sock "Host: content-usa.cricinfo.com"     puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)"     puts $sock "Connection: close"     puts $sock ""     flush $sock      #--- Header     putquick "PRIVMSG $nick :\037\00300,06Forthcoming Live Coverage\003\037"     putquick "PRIVMSG $nick :\037Date          Time             Match\037"      #--- Filtering Info     while {[gets $sock html] &gt;= "0"} {       if {[string match -nocase "*&lt;tr valign=top*&gt;*" $html] == "1"} {         set x "0"         set line ""         set color "$html"       } elseif {[string match -nocase "*&lt;td nowrap&gt;*" $html] == "1"} {         set line "${line}[lrange [gets $sock] 0 1] "          if {[incr x] &gt;= "2"} {           gets $sock html           gets $sock html           while {[gets $sock html] &gt;= "0"  [string match -nocase "*&gt;Forecast&lt;*" $html] == "0"} {             if {[string match -nocase "*&lt;br&gt;*" $html] == "1" || [string match -nocase "*&lt;/td&gt;*" $html] == "1"} {               regexp {.html"&gt;(.+)&lt;/a&gt;} $html match html               regexp {(.+)&lt;br&gt;} $html match html               regexp {(.+) &lt;/td&gt;} $html match html               set line "${line} ${html}."             }           }           nextmatch:line $nick $color $line         }        }     }      #--- Footer     putquick "PRIVMSG $nick :\037\00300,06Current Date: [strftime "%a, %d %b %Y %H:%M:%S"]\003\037"      close $sock   } else {     putquick "NOTICE $nick :Timeout while querying Server."   } }</code></pre></div>That's it ;-)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Sun Oct 14, 2007 9:45 am</p><hr />
]]></content>
	</entry>
	</feed>
