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

	<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-23T11:44:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-23T11:44:54-04:00</updated>

		<published>2002-09-23T11:44:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11271#p11271</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11271#p11271"/>
		<title type="html"><![CDATA[google.tcl error bad file number]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11271#p11271"><![CDATA[
Actually, 'brother' has released a fix for new google engine, so you should prolly come in touch with him.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Mon Sep 23, 2002 11:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-22T11:01:54-04:00</updated>

		<published>2002-09-22T11:01:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11243#p11243</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11243#p11243"/>
		<title type="html"><![CDATA[google.tcl error bad file number]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11243#p11243"><![CDATA[
That, or remove thsi usless line<br><div class="codebox"><p>Code: </p><pre><code>puts stderr ""</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 22, 2002 11:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-21T07:15:38-04:00</updated>

		<published>2002-09-21T07:15:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11212#p11212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11212#p11212"/>
		<title type="html"><![CDATA[google.tcl error bad file number]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11212#p11212"><![CDATA[
Contact brother@undernet or <a href="http://www.scripters.be" class="postlink">http://www.scripters.be</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Sat Sep 21, 2002 7:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-20T19:12:49-04:00</updated>

		<published>2002-09-20T19:12:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11195#p11195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11195#p11195"/>
		<title type="html"><![CDATA[google.tcl error bad file number]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11195#p11195"><![CDATA[
Hi!<br>At first the google.tcl worked just fine.<br>Managed to do at least 10 querys, then it stopped working...<br>This is what i get in my .log:<br>Tcl error [pub:google]: error writing "stderr": bad file number<br><br>I've searched the forums but no answer.<br><br>proc pub:google { nick uhost handle channel arg } {<br>global agent<br>if {[llength $arg]==0} {<br>putserv "PRIVMSG $channel :hey ! tappes des mots boulet !"<br>} else {<br>set query "<a href="http://www.google.com/search?btnI=&amp;q=" class="postlink">http://www.google.com/search?btnI=&amp;q=</a>"<br>for { set index 0 } { $index&lt;[llength $arg] } { incr index } {<br>set query "$query[lindex $arg $index]"<br>if {$index&lt;[llength $arg]-1} then {<br>set query "$query+"<br>}<br>}<br>putserv "PRIVMSG $channel :$query" &lt;------ so far so good<br>set token [http::config -useragent $agent]<br>set token [http::geturl $query]<br>puts stderr ""<br>upvar #0 $token state<br>set max 0<br>foreach {name value} $state(meta) {<br>if {[regexp -nocase ^location$ $name]} {<br>set newurl [string trim $value]<br>putserv "PRIVMSG $channel :$newurl"<br>}<br>}<br>}<br>}<br><br>Any ideas?<br><br>And also, does anyone have supergoogle.tcl or a working link?<br><br>// Haddock<p>Statistics: Posted by Guest — Fri Sep 20, 2002 7:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
