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 ... 6, 7, 8 ... 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
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

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

v00j00 wrote:
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.


And this:

!Video sex

Code:
[13:40:22] <@MyBot>    "Rubber" - a TV ad for promoting the use of condoms  @ http://video.google.com/videoplay?docid=1965553783363492662 |    The ABC's of Sex education for trainables  @ http://video.google.com/videoplay?docid=-2987243478639579087 |    hyun bin says that sex is sometimes boring  @ http://video.google.com/videoplay?docid=6152531848936764085 |    God Save the Queen Cover - Live  @ http://video.google.com/videoplay?docid=2908051806013199473
Back to top
View user's profile Send private message
r99t
Voice


Joined: 18 Oct 2005
Posts: 1

PostPosted: Sat Dec 24, 2005 4:55 am    Post subject: Reply with quote

I have:

Eggdrop 1.6.17
http-2.5.tcl
incith-google.tcl 1.7

My Problem is this:

[08:56] [@nick]: !g r99t
[08:56] [@bot]: Translate this page @ http://translate.google.com/translate?hl=en&sl=de&u=URL | Translate this page @ http://translate.google.com/translate?hl=en&sl=de&u=URL | Translate this page @
[08:56] [@bot]: http://translate.google.com/translate?hl=en&sl=de&u=URL | Translate this page @ http://translate.google.com/translate?hl=en&sl=de&u=URL

Why will the Script translate this pages? My language normally is german, so i have set it to 'de' but its the same. if i do the triggers, the bot want always translate. Why. Can any1 help me?
Back to top
View user's profile Send private message
minted
Halfop


Joined: 20 Jul 2005
Posts: 64

PostPosted: Sun Dec 25, 2005 7:44 pm    Post subject: Reply with quote

error when trying to use this addon with windrop
using http 2.5.2
incith-google 1.7.3

heres error output:

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

set errorInfo
Currently: invalid command name "tcl_endOfWord"
Currently: while executing
Currently: "tcl_endOfWord $input 0"
Currently: (procedure "send_output" line 26)
Currently: invoked from within
Currently: "send_output "$input" "$chan" "$nick" "$uhand""
Currently: (procedure "incith::google::public_message" line 3)
Currently: invoked from within
Currently: "incith::google::public_message $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5"

while searching anything i get this error, no output given in the channel
am i doing anything wrong?
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Fri Dec 30, 2005 1:56 am    Post subject: Reply with quote

Hi all !
Its time to release incith:google v1.8 !

Yes, its been a while between updates and I've gone a bit quiet the last couple weeks, but sometimes real life just seems to overwhelmingly intrude.
Things like moving house, changing rooms (twice), a new pc (w00t!), a new desk, a new server, recabling the house, xmas, holidays, etc etc, it all makes for some unproductive coding days ...
Cool

And... It's hot. Damn hot! Real hot!


Anyway, I'm sure most of you dont care about that, so I'll just get on with the new release Smile

From the changelog:
- added option to turn on "safe" searches
- added channel user level filtering option (+v/+h/+o only)
- added google fight! !gf or !fight <blah> vs <blah> (inspired by www.googlefight.com)
- added ability to do any custom mode to descs & links (i'll just apologise now for this one)
- removed variable underline_links (superseded by above)
- removed use of 'tcl_endOfWord' to stop windrop breaking
- fixed excess %20's appearing in some results
- fixed "translate this" only returns ? (i think)
- stopped local from returning ad spam on first result


I think that addresses most of the bugs/requests in the last page or two, so if you find something still doesnt work, let me know.

incith:google v1.8 available here:
http://www.woota.net/~madwoota/incith-google-current.tar.gz

Regards,
-madwoota
Back to top
View user's profile Send private message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Wed Jan 11, 2006 12:46 pm    Post subject: Reply with quote

sorry, forgot to post a feedback. v1.8 works fine Wink no errors found until this time. nice work Smile
Back to top
View user's profile Send private message
c00ljim
Voice


Joined: 13 Jan 2006
Posts: 4

PostPosted: Fri Jan 13, 2006 5:56 am    Post subject: Reply with quote

madwoota wrote:
Hi all !
Its time to release incith:google v1.8 !

Yes, its been a while between updates and I've gone a bit quiet the last couple weeks, but sometimes real life just seems to overwhelmingly intrude.
Things like moving house, changing rooms (twice), a new pc (w00t!), a new desk, a new server, recabling the house, xmas, holidays, etc etc, it all makes for some unproductive coding days ...
Cool

And... It's hot. Damn hot! Real hot!


Anyway, I'm sure most of you dont care about that, so I'll just get on with the new release Smile

From the changelog:
- added option to turn on "safe" searches
- added channel user level filtering option (+v/+h/+o only)
- added google fight! !gf or !fight <blah> vs <blah> (inspired by www.googlefight.com)
- added ability to do any custom mode to descs & links (i'll just apologise now for this one)
- removed variable underline_links (superseded by above)
- removed use of 'tcl_endOfWord' to stop windrop breaking
- fixed excess %20's appearing in some results
- fixed "translate this" only returns ? (i think)
- stopped local from returning ad spam on first result


I think that addresses most of the bugs/requests in the last page or two, so if you find something still doesnt work, let me know.

incith:google v1.8 available here:
http://www.woota.net/~madwoota/incith-google-current.tar.gz

Regards,
-madwoota


well i am having zero luck with this latest release, and i cant see where to turn on debugging, so i can see why its failing or not producing results. When I type !google whatever in channel ? my results are always;
acouple of examples here;

[04:16] <@ceejay> !google weather 18353
[04:16] <@c0ffee4me> Sorry, no search results were found.

[04:31] <@ceejay> !google pizza hut near saylorsburg
[04:31] <@c0ffee4me> Sorry, no search results were found.

[04:41] <@ceejay> !google convert
[04:41] <@c0ffee4me> Sorry, no search results were found.

etc, etc.................................
Back to top
View user's profile Send private message
c00ljim
Voice


Joined: 13 Jan 2006
Posts: 4

PostPosted: Fri Jan 13, 2006 6:09 am    Post subject: apologies Reply with quote

works great, did a system reboot
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Fri Jan 13, 2006 8:36 am    Post subject: Reply with quote

Ah hah, its the "Outsourced our tech support call centre to just tell customers to reboot their computer" style solution !

It works far too often for it to really be a joke though Smile

PS: Sounds like your http package wasnt getting to google and was returning junk or something, so the script wasnt finding anything.
Back to top
View user's profile Send private message
kretek
Voice


Joined: 28 Jan 2006
Posts: 3

PostPosted: Sat Jan 28, 2006 7:06 pm    Post subject: Reply with quote

Then I ask bot for something, i always get this error in partyline:
Tcl error [incith::google::public_message]: unknown encoding "ascii"

Can you tell me what it's wrong?

EDIT: when i write something on channel, i get in partyline this tcl error too.
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sat Jan 28, 2006 9:19 pm    Post subject: Reply with quote

That sounds like an odd bug I saw when testing the script against Windrop a while ago, but I havent seen since.

From memory a bot shutdown & restart fixed it.

I'd need some more details if that doesnt help though, like eggdrop version (or windrop?), tcl lib version and OS etc.
Back to top
View user's profile Send private message
kretek
Voice


Joined: 28 Jan 2006
Posts: 3

PostPosted: Sat Jan 28, 2006 11:45 pm    Post subject: Reply with quote

madwoota wrote:
That sounds like an odd bug I saw when testing the script against Windrop a while ago, but I havent seen since.

From memory a bot shutdown & restart fixed it.

I'd need some more details if that doesnt help though, like eggdrop version (or windrop?), tcl lib version and OS etc.


eggdrop 1.6.12 precompiled with tcl 8.3,
Linux mars 2.6.13-15.7-smp #1 SMP (...) i686 i686 i386 GNU/Linux, I think it's SUSE 10.
After bot restart I still have this tcl "ascii"error.

EDIT: I changed to eggdrop 1.6.17 i686 redhat8.0 Linux2.4.23 tcl 8.4.7 gcc3.2 / glibc2.3.2
shell: cc --version : GCC 4.0.2 20050901 (prerelease) (SUSE Linux)

And I still have this strange Tcl error [incith::google::public_message]: unknown encoding "ascii".

Looks like it's something with my shell account and tcl :/
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Tue Jan 31, 2006 7:41 pm    Post subject: Reply with quote

kretek wrote:
Looks like it's something with my shell account and tcl :/


Unfortunately, I'd have to agree with you.

I've yet to come across a TCL lib without a whole raft of system encodings, although it depends entirely on how well the tcl lib was setup.

If you have access, check and see if the file "ascii.enc" exists in a subdir under your tcl lib dir.

Eg, its likely to be in: /usr/lib/tcl8.?/encoding/ascii.enc
Or wherever your /lib/tcl8.# dir is.

Code:
$:/usr/lib/tcl8.4/encoding# ls -l | wc -l
79


So, I have 79 encoding sets/files in that directory, perhaps you have very few/none. If you do not have, or cannot find the file "ascii.enc", then I would suggest your install of tcl lib itself is corrupt/worthless.

Another option is to type the "tclsh" command from the shell command prompt. When you get the "%" prompt from it, type "encoding names" and you should end up with a list like this:

Code:
$:/# tclsh
% encoding names
cp860 cp861 cp862 cp863 tis-620 cp864 cp865 cp866 gb2312-raw gb12345 cp949 cp950 cp869 dingbats ksc5601 macCentEuro cp874 macUkraine jis0201 gb2312 euc-cn euc-jp macThai iso8859-10 jis0208 iso2022-jp macIceland iso2022 iso8859-13 jis0212 iso8859-14 iso8859-15 cp737 iso8859-16 big5 euc-kr macRomania macTurkish gb1988 iso2022-kr macGreek ascii cp437 macRoman iso8859-1 iso8859-2 iso8859-3 macCroatian koi8-r iso8859-4 ebcdic iso8859-5 cp1250 macCyrillic iso8859-6 cp1251 macDingbats koi8-u iso8859-7 cp1252 iso8859-8 cp1253 iso8859-9 cp1254 cp1255 cp850 cp1256 cp932 identity cp1257 cp852 macJapan cp1258 shiftjis utf-8 cp855 cp936 symbol cp775 unicode cp857


System character encoding sets are very important Smile
Or, hell, if you are able, you could just try the script on an alternate shell Smile

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


Joined: 13 Feb 2006
Posts: 2

PostPosted: Mon Feb 13, 2006 3:46 am    Post subject: Reply with quote

Hello!

Excuse a n00bish question but.. can i get this nice script working with blowfish?

Cheers
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Tue Feb 14, 2006 8:56 am    Post subject: Reply with quote

Not sure exactly where you're aiming for with that, but blowfish is a required module with eggdrop, used to disguise passwords and such.

This script will happily co-exist with it since they are both independant of each other.
Back to top
View user's profile Send private message
lefkas
Voice


Joined: 13 Feb 2006
Posts: 2

PostPosted: Mon Feb 20, 2006 7:18 am    Post subject: Reply with quote

Well i use blowfish in channel and then the !google wont work,
If i remove key it works :\
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 ... 6, 7, 8 ... 17, 18, 19  Next
Page 7 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