egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:google :)
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Tue Dec 06, 2005 12:09 pm    Post subject: Reply with quote

hi madwoota,

one request again Wink

can you make a option to choise, if this sript work on all channels the bot is in or only in +google channels?

greets Koepi
Back to top
View user's profile Send private message
minted
Halfop


Joined: 20 Jul 2005
Posts: 64

PostPosted: Tue Dec 06, 2005 1:49 pm    Post subject: Reply with quote

just type .chanset * +google on the partyline and it will be active in all channels. enabling the script to work with chanset is the most convinient way, and takes about 2 seconds to do.
Back to top
View user's profile Send private message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Tue Dec 06, 2005 1:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Thunderdome
Op


Joined: 15 Mar 2005
Posts: 187

PostPosted: Tue Dec 06, 2005 1:56 pm    Post subject: Reply with quote

Hey!
Script is AWESOME...

but I have the same problem as the brazilian user. I am from Portugal...
Also, a %20 (space right?) shows up before the links?

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?
I must do this manually every time...
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Wed Dec 07, 2005 3:26 am    Post subject: Reply with quote

Digerati wrote:

<dBot> Subspace Continuum - Freeware Game @ /url?sa=X&revid=1782563160&qpos=0&upos=0&oi=revisions_inline&q=http://beginners.subspace.net/%20

Fixed in next version. Yay for new google features Smile


testebr wrote:
My problem continues...

testebr - I still need you to provide me with an example of what you searched for.
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:
source scripts/http.tcl
source scripts/incith-google.tcl



Thunderdome wrote:
I am from Portugal...
Also, a %20 (space right?) shows up before the links?

That should not be possible Smile
Please provide an example of what you searched for to produce this result.


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?

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).


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.

Just set the channel flag +google in the global (default) channel settings in yer .conf file.
(Probably need to do that after sourcing scripts/incith-google.tcl though.)
Something like this:
Code:
source scripts/incith-google.tcl
set global-chanset { +google }



*phew* Smile
-madwoota
Back to top
View user's profile Send private message
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

PostPosted: Thu Dec 08, 2005 1:34 am    Post subject: Reply with quote

[quote="madwoota"]
Digerati wrote:

testebr wrote:
My problem continues...

testebr - I still need you to provide me with an example of what you searched for.
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:
source scripts/http.tcl
source scripts/incith-google.tcl


Congratulations, You win! ehhehe work fine now.

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...
Back to top
View user's profile Send private message
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

PostPosted: Thu Dec 08, 2005 1:39 am    Post subject: Reply with quote

madwoota wrote:
Thunderdome wrote:
I am from Portugal...
Also, a %20 (space right?) shows up before the links?

That should not be possible Smile
Please provide an example of what you searched for to produce this result.


Same problem here, see:

Code:
[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
Back to top
View user's profile Send private message
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

PostPosted: Thu Dec 08, 2005 1:40 am    Post subject: Reply with quote

madwoota wrote:
Thunderdome wrote:
I am from Portugal...
Also, a %20 (space right?) shows up before the links?

That should not be possible Smile
Please provide an example of what you searched for to produce this result.


Same problem here, see:

Code:
[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
Back to top
View user's profile Send private message
Thunderdome
Op


Joined: 15 Mar 2005
Posts: 187

PostPosted: Thu Dec 08, 2005 11:13 am    Post subject: Reply with quote

I've solved it... it was an extra space I used as the separator... (I changed the separator)... but I am not really sure, anyway it's gone...

But that changing the colors possibility would be awesome! Very Happy
Back to top
View user's profile Send private message
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

PostPosted: Thu Dec 08, 2005 1:46 pm    Post subject: Reply with quote

You update the packpage in this url http://www.woota.net/~madwoota/incith-google-current.tar.gz or where we can get the latest version?

I get this file and the version still the same v1.7.3
Back to top
View user's profile Send private message
Digerati
Voice


Joined: 05 Dec 2005
Posts: 2

PostPosted: Fri Dec 09, 2005 5:26 pm    Post subject: Reply with quote

There is another small parsing bug in v1.7.3:

When I send "!g define:turing test", the result is:

Code:
<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)

Might want to remove that last part ("%20(%20http://www.google..."). Smile
Back to top
View user's profile Send private message MSN Messenger
OmegaII
Voice


Joined: 11 Dec 2005
Posts: 1

PostPosted: Sun Dec 11, 2005 1:17 pm    Post subject: tcl_endOfWord Reply with quote

I get an error after the bot has been up for a while / rehashed a few times. I'm not sure yet wheter the rehashing has something to do with it.

Anyway I get the following error:
Code:

[18:02] Tcl error [incith::google::public_message]: invalid command name "tcl_endOfWord"


When I start the bot all works fine, but after a while when I want to trigger the script I get that error.

Any idea's where the problem could be ?

Edit:
Apparently freshmint.tcl screws things up. After some testing and disabling this script it keeps working fine after several rehashes.
Too bad cause freshmint really is needed with the "ghosting" eggdrop does.
Back to top
View user's profile Send private message
v00j00
Voice


Joined: 18 Dec 2005
Posts: 4

PostPosted: Sun Dec 18, 2005 9:05 am    Post subject: Reply with quote

I too am getting the %20.

I fixed a little bit of it, but I don't know about the other..

Code:
[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)


so I removed two spaces from
Code:
append link "( http://www.google.com/search?hl=${incith::google::language}&q=${define_input} )"


to

Code:
append link "(http://www.google.com/search?hl=${incith::google::language}&q=${define_input})"


the result is this

Code:
[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)


But there still one extra %20 between the url and the google search url that I don't know how to get rid of ^_^

I hope this helps.
Thanks and appreciate the hardwork! Looking forward to another release.
Back to top
View user's profile Send private message
anotheregglover
Voice


Joined: 13 Jan 2005
Posts: 38

PostPosted: Mon Dec 19, 2005 8:18 am    Post subject: Reply with quote

I would like to suggest an additional command, !google torrent <search terms> or !torrent <search terms> which employed the search variable "filetype:torrent inurl:<search terms>"

For example: filetype:torrent inurl:debian

http://www.google.com/search?num=15&hl=en&lr=&q=filetype%3Atorrent+inurl%3Adebian&btnG=Search

Back to top
View user's profile Send private message
apache-
Voice


Joined: 19 Dec 2005
Posts: 1

PostPosted: Mon Dec 19, 2005 11:33 am    Post subject: Reply with quote

hey all
got a small prob with the search script
when i search for example
!google test
all i get back is
Google Book Search @ http://books.google.com/books? etc etc etc
what am i doing wrong?
what do i have to input to mkae it bring up the correct google web results?
cheers
_________________
The very latest PC Game news and PC trainers
www.gamehacking.co.uk
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 17, 18, 19  Next
Page 6 of 19

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber