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

	<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-23T08:04:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-12-23T08:04:50-04:00</updated>

		<published>2005-12-23T08:04:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58609#p58609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58609#p58609"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58609#p58609"><![CDATA[
<blockquote class="uncited"><div>not should be now</div></blockquote>I did notice and said nothing; aren't I good? LOL<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Dec 23, 2005 8:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-22T21:52:07-04:00</updated>

		<published>2005-12-22T21:52:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58600#p58600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58600#p58600"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58600#p58600"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>you can't understand what you wrote yourself? not that's weird... </div></blockquote>I'd suggest the script was "found", possibly in the forum and Fclan is attempting to modify it. This would explain why nothing is being understood; although one could attempt to explain in Polish?</div></blockquote>well apparently I need someone to tutor me in English too!<br><br><em class="text-italics">not</em> should be <em class="text-italics">now</em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Dec 22, 2005 9:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-12-22T17:58:05-04:00</updated>

		<published>2005-12-22T17:58:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58592#p58592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58592#p58592"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58592#p58592"><![CDATA[
<blockquote class="uncited"><div>you can't understand what you wrote yourself? not that's weird... </div></blockquote>I'd suggest the script was "found", possibly in the forum and Fclan is attempting to modify it. This would explain why nothing is being understood; although one could attempt to explain in Polish?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Dec 22, 2005 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-22T05:53:37-04:00</updated>

		<published>2005-12-22T05:53:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58578#p58578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58578#p58578"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58578#p58578"><![CDATA[
yes, but where is regexps, and msg to channel??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Thu Dec 22, 2005 5:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2005-12-21T17:05:17-04:00</updated>

		<published>2005-12-21T17:05:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58558#p58558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58558#p58558"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58558#p58558"><![CDATA[
<blockquote class="uncited"><div>start with the simplest thing - fetch google's homepage: <div class="codebox"><p>Code: </p><pre><code>package require httpset t [::http::geturl http://www.google.com]::http::data $t::http::cleanup $t </code></pre></div></div></blockquote>isn't that a simple script? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Dec 21, 2005 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-21T09:46:14-04:00</updated>

		<published>2005-12-21T09:46:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58544#p58544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58544#p58544"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58544#p58544"><![CDATA[
I don`t understand.. I need a simple example script and I will understand it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Wed Dec 21, 2005 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-18T12:48:43-04:00</updated>

		<published>2005-12-18T12:48:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58437#p58437</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58437#p58437"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58437#p58437"><![CDATA[
you can't understand what you wrote yourself? not that's weird...<br><br>I already told you (or was it another guy...) to skip async processing for now and try just basic blocking mode - that is, remove <em class="text-italics">-command</em> switch from [geturl]<br><br>start with the simplest thing - fetch google's homepage:<div class="codebox"><p>Code: </p><pre><code>package require httpset t [::http::geturl http://www.google.com]::http::data $t::http::cleanup $t</code></pre></div>examine the structure of the page you need to parse by using appropriate tool (for example, DOM Inspector of Mozilla/Firefox); once you have a clear idea what that structure is, go for the parsing - 1. learn regexps and 2. learn from decent HTML parsing scripts, for example incith's or <a href="http://demond.net/rssnews.tcl" class="postlink">rssnews</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 18, 2005 12:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-18T08:16:19-04:00</updated>

		<published>2005-12-18T08:16:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58424#p58424</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58424#p58424"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58424#p58424"><![CDATA[
I can`t understand:<br><div class="codebox"><p>Code: </p><pre><code>set source [string map -nocase {"|"} $source]foreach line [split $source |] {if {[regexp {(.*?)} $line tmp lines ]} { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sun Dec 18, 2005 8:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-12-18T07:45:04-04:00</updated>

		<published>2005-12-18T07:45:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58423#p58423</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58423#p58423"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58423#p58423"><![CDATA[
Try<div class="codebox"><p>Code: </p><pre><code>.set errorInfo</code></pre></div>.. and paste what you get; also read what is in your bots own log and paste any relevant info.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Dec 18, 2005 7:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-18T06:58:53-04:00</updated>

		<published>2005-12-18T06:58:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58422#p58422</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58422#p58422"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58422#p58422"><![CDATA[
Bot do not sends any msg<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sun Dec 18, 2005 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-17T21:21:43-04:00</updated>

		<published>2005-12-17T21:21:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58407#p58407</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58407#p58407"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58407#p58407"><![CDATA[
<blockquote class="uncited"><div>...<strong class="text-strong">AND</strong> explaining in details what the problem is, providing detailed log and error traceback</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 17, 2005 9:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-17T16:45:09-04:00</updated>

		<published>2005-12-17T16:45:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58398#p58398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58398#p58398"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58398#p58398"><![CDATA[
Oh, sorry i forgot, btw. I know about it <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 <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sat Dec 17, 2005 4:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-17T15:58:54-04:00</updated>

		<published>2005-12-17T15:58:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58396#p58396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58396#p58396"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58396#p58396"><![CDATA[
learn how to post first - meaning posting code within <div class="codebox"><p>Code: </p><pre><code> tags and explaining in details what the problem is, providing detailed log and error traceback; then I [i]might[/i] tell you</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 17, 2005 3:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2005-12-17T16:44:11-04:00</updated>

		<published>2005-12-17T14:24:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58393#p58393</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58393#p58393"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58393#p58393"><![CDATA[
Ok I`ve read something about it and imo all is ok: Tell me why this one dont works....<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !news newscheckproc newscheck {nick host hand chan text} {set url "www.sensiblesoccer.de/index.php?lng=en"set counter 0set http(-useragent) {Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)}set limit "4"catch { set connection [http::geturl $url -timeout 3000] } errorif {[string match -nocase "*::http::*" $error]} {set source [http::data $connection];http::cleanup $connectionset source [string map -nocase {"|"} $source]foreach line [split $source |] {if {[regexp {(.*?)} $line tmp lines ]} {regexp {&lt;td class="medium"&gt;&lt;b class="marker"&gt;(.*?)&lt;/font&gt;&lt;/td&gt;} $lines tmp titelputserv "PRIVMSG $chan :$titel"incr counter}if {$counter == $limit} {unset counter;return 0}}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sat Dec 17, 2005 2:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-17T13:07:57-04:00</updated>

		<published>2005-12-17T13:07:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58388#p58388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58388#p58388"/>
		<title type="html"><![CDATA[help simple]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58388#p58388"><![CDATA[
I'd bet you haven't bothered to even read Tcl doc page about http package, let alone judging it against raw sockets<br><br>and if you really have read it and couldn't understand it - while you understand sockets - there is something wrong with you, since it's really simpler than sockets - to understand and to use<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 17, 2005 1:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
