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

	<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>2004-05-19T19:07:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-19T19:07:16-04:00</updated>

		<published>2004-05-19T19:07:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36464#p36464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36464#p36464"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36464#p36464"><![CDATA[
I just have to say this.... There is alot of confusion about many a script... many people seem to be under the impression, if it is a web page fetching script, that it must require egghttp.tcl ... this is not the case... Although I encourage people to use egghttp.tcl as it makes life simpler when writing scripts, there are many other methods of grabbing a web page via tcl...<br>The http package for example, raw sockets, eggdrop's connect/listen commands (which egghttp.tcl uses), shell browsers such as lynx/links, etc..<br><br>So, if you don't see text in the script for egghttp:* , then it does not need egghttp.tcl ...<br><br>Hope this clears up alot of the confusion that has been going around for a while...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Wed May 19, 2004 7:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-19T13:41:21-04:00</updated>

		<published>2004-05-19T13:41:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36458#p36458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36458#p36458"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36458#p36458"><![CDATA[
I would suggest to use the SuperGoogler v.1.3 by Brother. Quite frankly , I tried all of the others , and none of them worked for me.<br><br>Though the !image trigger dont seem to work for me , all of the others do. Go here <a href="www.scripters.be" class="postlink">www.scripters.be</a> and click on projects.<br><br>I like it myself , but what do I know. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>MrD666<p>Statistics: Posted by Guest — Wed May 19, 2004 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-05-19T12:27:15-04:00</updated>

		<published>2004-05-19T12:27:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36455#p36455</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36455#p36455"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36455#p36455"><![CDATA[
Well, i tryed this one, and it don't work either.I'll look close at script later..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Wed May 19, 2004 12:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-19T12:22:34-04:00</updated>

		<published>2004-05-19T12:22:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36454#p36454</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36454#p36454"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36454#p36454"><![CDATA[
as you see i have egghttp but it doesn't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>[18:15] --- Loading eggdrop v1.6.15 (Wed May 19 2004)<br>[18:15] Module loaded: dns<br>[18:15] Module loaded: channels<br>[18:15] Module loaded: server<br>[18:15] Module loaded: ctcp<br>[18:15] Module loaded: irc<br>[18:15] Module loaded: console          (with lang support)<br>[18:15] Module loaded: blowfish<br>[18:15] egghttp.tcl API v1.1.0 by strikelight now loaded.<br>[18:15] Google v1.0 by murf loaded<br>[18:15] Userfile loaded, unpacking...<br>[18:15] === GeneraleW: 1 channels, 2 users.<p>Statistics: Posted by Guest — Wed May 19, 2004 12:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-03-02T15:34:19-04:00</updated>

		<published>2004-03-02T15:34:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34163#p34163</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34163#p34163"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34163#p34163"><![CDATA[
You sure you have egghttp?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Tue Mar 02, 2004 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[b34r]]></name></author>
		<updated>2004-03-02T07:26:42-04:00</updated>

		<published>2004-03-02T07:26:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34146#p34146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34146#p34146"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34146#p34146"><![CDATA[
Has anyone solved this yet ?<br>It doesnt give any error messages at all.<br>I have tried putting in some putlogs here and there, but i can't find out what is wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3355">b34r</a> — Tue Mar 02, 2004 7:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-03-04T13:14:13-04:00</updated>

		<published>2003-03-04T13:14:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17406#p17406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17406#p17406"/>
		<title type="html"><![CDATA[googler.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17406#p17406"><![CDATA[
already done that but it doesnt work at all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Tue Mar 04, 2003 1:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2003-03-04T01:26:35-04:00</updated>

		<published>2003-03-04T01:26:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17381#p17381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17381#p17381"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17381#p17381"><![CDATA[
Just unload the script. Kill the bot, and start it again. And then again load the script, and rehash. Tada. <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=13">Yourname</a> — Tue Mar 04, 2003 1:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-03-03T21:56:54-04:00</updated>

		<published>2003-03-03T21:56:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17380#p17380</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17380#p17380"/>
		<title type="html"><![CDATA[googler1.0.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17380#p17380"><![CDATA[
hi the googler1.o.tcl script juste stop working , no errors what so ever no tcl errors none it dosent return anything<br><br>help welcome <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>###############################################################################################################################################                        Google by Murf                               ##                            v1.0                                     ##                                                                     ##  Gets search results from Google.com. Nothing fancy yet, just gets  ##  however many returns you want.  Idea is based on a script by       ##  aNa|0Gue, although the code is all new.                            ##                                                                     ##                 Latest version @ http://www.blueday.org             ##                 Comments &amp; Questions to murf@mindless.com           #########################################################################  Only tested on TCL v8.3 and Egg v1.6x, although I kept the code    ##  generic enough for TCL v8.0 and probably v1.3 of egg.              #########################################################################                                                                     ##  Commands                                                           ##                                                                     ##          .google keyword(s) &lt;# of results&gt;                          ##                                                                     ##          e.g. .google murf 5                                        ##                                                                     ##   Version                                                           ##      v1.0 Aug 16 2002                                               ##         -- first version                                            ##                                                                     ##        Contact murf@mindless.com for bugs/comments                  ##        This and other scripts available @ www.blueday.org           ################################################################################################################################################# default number of returnsset google_def_num 4## max number of returnsset google_max 10## public bind set glpubbind .googleset gl_output "NOTICE $nick"##########binds######################bind pub -|- $glpubbind pub_google##########Procs######################proc pub_google {nick uhost handle chan search} {  global gl_ouput  set gl_output "NOTICE $nick"  if {[llength $search] == 0} {     puthelp "$gl_output : Whatcha searchin for fool!?"     return 0  }  set url [google_url $search $nick $chan]  google_getpage $url  return 0}## Google_url ############################################### Takes input and parses to set the url, returns the urlproc google_url {search nick chan} {  global google_def_num google_max gl_output  set google_num [lindex $search end]  if {[regexp { [0-9]+} $search match $google_num]} {     if {$google_num &gt; $google_max} { set google_num $google_max }     set search [lrange $search 0 [expr {[llength $search] - 2}]]  } else {     set google_num $google_def_num  }  if {$google_num &gt;= 5} {      set gl_output "NOTICE $nick"  } else {     set gl_output "PRIVMSG $chan"  }  regsub -all { } $search {+} search   set url "/search?hl=en&amp;num=$google_num&amp;lr=&amp;ie=ISO-8859-1&amp;q=$search"  return $url}## google_getpage ############################################ gets the webpage and parses for the returnsproc google_getpage {url} {   global gl_output## Open socket   if {[catch {set glsock [socket -async www.google.com 80]} sockerr]} {      puthelp "NOTICE $nick :$sockerr"      puthelp "NOTICE $nick :Try again later, look out the window till then!"      close $glsock      return 0   }   puts $glsock "GET $url"   flush $glsock   set i 0   set j 1   set glout [gets $glsock]  while {[regexp {Dissatisfied with your results?} $glout] == 0} {     set glout [gets $glsock]     incr i     if {$i &gt;= 150} {        break     }      if {[regexp {#008000&gt;(.*?) - } $glout match gl_result($j)]} {        puthelp "$gl_output :$j. http://$gl_result($j)"        incr j     }  }  close $glsock  return 0}putlog "Google v1.0 by murf loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Mon Mar 03, 2003 9:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
