Fixed in next version. Yay for new google featuresDigerati wrote: <dBot> Subspace Continuum - Freeware Game @ /url?sa=X&revid=1782563160&qpos=0&upos=0&oi=revisions_inline&q=http://beginners.subspace.net/%20
testebr - I still need you to provide me with an example of what you searched for.testebr wrote:My problem continues...
Code: Select all
source scripts/http.tcl
source scripts/incith-google.tcl
That should not be possibleThunderdome wrote:I am from Portugal...
Also, a %20 (space right?) shows up before the links?
I was already doing a cleanup of the underline/bolding code in the next major version. It will include options to put whatever codes you like (bold/colours/underline/reverse on either descs or links).Thunderdome wrote:Also, in the next version, can you make it simpler for a user to choose the colors of the output and replace the link underline/bold/color/whateveroneslikes?
Just set the channel flag +google in the global (default) channel settings in yer .conf file.Koepi wrote:yes i know, but my bot joins automatically channels after invite by other users. so it would by nice if can set it on for all new channels.
Code: Select all
source scripts/incith-google.tcl
set global-chanset { +google }
madwoota wrote:Congratulations, You win! ehhehe work fine now.Digerati wrote:testebr - I still need you to provide me with an example of what you searched for.testebr wrote:My problem continues...
Also, you have setup the config file a little oddly. While it may work somewhat, you should not necessarily be replacing the line "package require http" with "source lib/.../http.tcl".
The preferred way to do this on WinDrop is to source the http.tcl file BEFORE you source the incith-google.tcl file in your main eggdrop .conf file. The way you've done it is untested and may have other side effects, so please try it this way first:Code: Select all
source scripts/http.tcl source scripts/incith-google.tcl
One sugestion: If one user want make one search by country in google, it is possible you make this option? Example...
!google <<< search in google world/usa (global)
!google_lang_pt word <<< search in google Portugal
!google_lang_br word <<< search in google Brazil
!google_lang_ca word <<< search in google Canada
!google_lang_jp word <<< search in google Japan
Or anything like this trigger...
Same problem here, see:madwoota wrote:That should not be possibleThunderdome wrote:I am from Portugal...
Also, a %20 (space right?) shows up before the links?
Please provide an example of what you searched for to produce this result.
Code: Select all
[03:35:42] <mynick> !video sexo
[03:35:49] <mybot> El tercer sexo @ http://video.google.com/videoplay?docid=7297646181828304461 | Fútbol v/s Sexo @ http://video.google.com/videoplay?docid=7517383051080380122 | Jel Instrutor do Sexo @ http://video.google.com/videoplay?docid=8658110220434104645 | Esclavas del sexo @ http://video.google.com/videoplay?docid=5842014320704075789
Same problem here, see:madwoota wrote:That should not be possibleThunderdome wrote:I am from Portugal...
Also, a %20 (space right?) shows up before the links?
Please provide an example of what you searched for to produce this result.
Code: Select all
[03:35:42] <mynick> !video sexo
[03:35:49] <mybot> El tercer sexo @ http://video.google.com/videoplay?docid=7297646181828304461 | Fútbol v/s Sexo @ http://video.google.com/videoplay?docid=7517383051080380122 | Jel Instrutor do Sexo @ http://video.google.com/videoplay?docid=8658110220434104645 | Esclavas del sexo @ http://video.google.com/videoplay?docid=5842014320704075789
Code: Select all
<dBot> A hypothetical test for computer intelligence, proposed by Alan Turing in 1950, involving a computer program generating a conversation which could not be distinguished from that of a real human. @ http://www.informatics.susx.ac.uk/books/computers-and-thought/gloss/node1.html%20(%20http://www.google.com/search?hl=all&q=define:turing+test%20)
Code: Select all
[18:02] Tcl error [incith::google::public_message]: invalid command name "tcl_endOfWord"
Code: Select all
[04:53] <v00j00> !g define:fcuk
[04:53] <zeroxstar> French Connection is a clothing company that originated in the United Kingdom, but is now available worldwide. It was founded in 1969 and sells menswear, womenswear, childrenwear and accessories aimed at a youthful demographic. @ http://en.wikipedia.org/wiki/FCUK%20(%20http://www.google.com/search?hl=en&q=define:fcuk%20)
Code: Select all
append link "( http://www.google.com/search?hl=${incith::google::language}&q=${define_input} )"
Code: Select all
append link "(http://www.google.com/search?hl=${incith::google::language}&q=${define_input})"
Code: Select all
[04:55] <v00j00> !g define:fcuk
[04:55] <zeroxstar> French Connection is a clothing company that originated in the United Kingdom, but is now available worldwide. It was founded in 1969 and sells menswear, womenswear, childrenwear and accessories aimed at a youthful demographic. @ http://en.wikipedia.org/wiki/FCUK%20(http://www.google.com/search?hl=en&q=define:fcuk)