| View previous topic :: View next topic |
| Author |
Message |
dMTOn Voice
Joined: 30 Aug 2005 Posts: 6
|
Posted: Tue Oct 04, 2005 12:31 pm Post subject: |
|
|
Hi i'm not very skilled with TCL programming but could you paste here code or add a option in it to send results in NOTICE ?
btw i like the script  |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Thu Oct 13, 2005 10:27 pm Post subject: |
|
|
Sorry for not being around much.
madwoota will be releasing the next version, it will support the ability to notice as the above poster requested, local will be fixed, a video search might be added, answer searches (!g population of japan, etc) won't be trimmed, and various other small things will be fixed. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Sat Oct 15, 2005 1:22 pm Post subject: |
|
|
Well, as incith mentioned above, I'll be doing the ongoing maintenance addons, updates etc for the google script.
So, any bugs, feature reqs, general whinges, send em to me
I'll be putting up a new version in the next couple days with several important fixes & a couple new features too - just doing some final testing and attempting to make sure I didnt severely break it on my first try.
Keep an eye out  |
|
| Back to top |
|
 |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Mon Oct 24, 2005 2:21 pm Post subject: |
|
|
| Code: |
[23:25:06] <Kryptonate> .gf Belgium:Netherlands
[23:25:15] <segbot> Google fight: Belgium: 41700000 Netherlands: 54100000 winner: Netherlands
|
What about something like this? Go googlefight! |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Tue Oct 25, 2005 6:54 am Post subject: |
|
|
Well, googlefight isn't really a part of google itself, so I'm a little disinclined to go down that path just yet.
I'll put it in the wishlist of things to think about one day tho.
Its a bit like the stock quotes part of google, its a legitimate google function, but it gets the data from Yahoo ... so the google script would have to go to Yahoo for the result.
*shrug* .. We'll see (I do like the idea tho.)
PS: New version has a LOT more changes than I thought it would need.
Damn google changing things on me.
Edit: double lookups would be legitimate, but its gonna be slow ... I'll leave this aside until I rewrite the actual data functions to speed it up a bit. |
|
| Back to top |
|
 |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Tue Oct 25, 2005 8:11 am Post subject: |
|
|
Thanks for reply...
Second time already, Google script doesn't show results anymore. Weird, because I haven't touched anything, it even doesn't show any error or something. Last time it did like this, it started to working after some time.
When's next release coming? |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Tue Oct 25, 2005 8:40 am Post subject: |
|
|
Once I finish the changes I'm working on right now
I'm just polishing up the debugging crapola I had to put in to fix a few things.
And yes, I noticed several things broke recently.
Perhaps tonight, but I'll post here for sure
/me puts the code monkey suit back on |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
|
| Back to top |
|
 |
anotheregglover Voice
Joined: 13 Jan 2005 Posts: 38
|
Posted: Thu Oct 27, 2005 10:46 am Post subject: from today google.tcl doesn't work? |
|
|
hello world and hello incith (thanks for your big work)
i think which from today google.tcl (v 1.52 with http 2.5) doesn't work.
it work only like calculator but not like search engine.
this is the error which appears:
(4:39:02) <@XXXXXX> !google linux
(4:39:04) <YYYYY> Sorry, no search results were found.
thanks for your 'potential' help
bye |
|
| Back to top |
|
 |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Fri Oct 28, 2005 2:03 pm Post subject: |
|
|
| anotheregglover, same problem here, but bot doesn't reply at all. :S |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Fri Oct 28, 2005 2:36 pm Post subject: |
|
|
Well, its been delayed & delayed, but I think I'm done on the next version.
I've tested & retested almost every single function to find any remaining bugs, fixed a bunch of typos & started on a massive codebase cleanup!
The changelog for v1.6 is in the tcl as per usual, but heres a snippet:
fixed google search returning no results
fixed descriptions getting cut short on 'answers'
fixed bug where some urls were returned invalid
fixed google local searches returning no results
fixed google print searches returning invalid links
changed 'did you means' to get returned first as well
added google weather: !g weather <city|zip>
- note: US weather only (blame google!)
added travel info, eg: !g sfo airport | !g united 134
added config option to send output via /notice
- forum req by 'dMTOn'
added initial attempt at parsing google video (!gv)
The file has been submitted to the archive, but heres a (temporary) link if you cant wait any longer for a working version.
Here.
So, feel free to send any more bugs, requests, etc to me.
-madwoota
Last edited by madwoota on Wed Nov 23, 2005 8:04 am; edited 3 times in total |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Sun Oct 30, 2005 10:28 am Post subject: |
|
|
Well crap.
I found another bug, but fortunately, its a pretty low grade one.
If there are no results for a "!g define:" search, you'll get a tcl error in your bot log and no results returned.
It works fine if there *is* a match tho.
Fixed (intelligently) in next version
-madwoota |
|
| Back to top |
|
 |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Mon Oct 31, 2005 1:34 pm Post subject: |
|
|
Damn, there's something really wrong. No reply and no sign of bad behaviour in partyline. :S
Im afraid that http 2.5 is causing it. Could anyone share http 2.3?  |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Mon Oct 31, 2005 11:31 pm Post subject: |
|
|
You could just grab a copy of tcl 8.3 from tcl.tk and grab the http.tcl from that.
I know its annoying grabbing a 2.5meg file to get a 25k file, but hey
Note, I should probably have put that I only tested this on windows with tcl 8.4 with http 2.4.
(.4 & .3 in Linux tho.)
-madwoota |
|
| Back to top |
|
 |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Tue Nov 01, 2005 11:41 am Post subject: |
|
|
| Well, i got http 2.3 from other source already but the result is same. It just doesn't work. :S I also tryed http 2.4. Nothing...im starting to think it may be my shell provider's (Rulex) problem. |
|
| Back to top |
|
 |
|