http://pastebin.com/ePrDhySD
I can't tell what all I have done to it.
I fix things, other things break.
No telling what all is working still.
Today, however, I changed a few things I CAN tell you what I did and what works that I tested.
-Changed the UA to presto (Opera) for testing/future-compatibility reasons (if you don't like Opera, I don't suggest you change it willy-nilly, but instead use Fiddler with the Request Builder using the URL+UA and view the WebView and/or read the source in the program or copy/paste into an editor like notepad++) and the fact that Google now refuses to supply "Lynx" (browser itself or the UA) with the "onebox" special results. No surprise really, because Lynx doesn't show images, but they could have at least gave a text form....
-Modified define: to work with new UA (or maybe it's been broken a while, I dunno), give a working link, and simplified the RegEx (won't break as bad, I presume)
-Fixed the "finance" currency results to return a clickable link and EXTREMELY shorter (build a custom URL instead of take it RAW)
-Fixed image search to work with the DRASTICALLY different source that gets fed to the new UA (it's no longer plain text but a crapload of JS too)
-Weather (and anything with "onebox") has been fixed (several times over the months).
Tested and working:
Weather, define:, spell:, conversions (measurements), currency (finance), image search (might have added !gi, don't recall), google fight
Untested and probably broken:
News, anything with maps (area code, travel), anything not using "onebox" in the category matching (the image URL has changed much over the months, but onebox seems to be the recent/working constant), video (but I think it works), books
Keep in mind that this is a personal script, but with the lynx crap and the source changing when you change the UA, I knew that 100% of the bots using this script are probably broken. So, that said, don't be surprised if you find some hackish fixes in here I never meant to be public or stable. I probably used .*? where I should have use .+?, but it shouldn't be a problem (sorry, I put some REALLY old mods in this thing when I was learning TCL, eggdrop, AND RegEx).
Edit:
The base script is 1.8.8g
I think that's the lastest official release, but I have been adding my own code and never seen any updates, so I just hacked it up how I see fit without checking for updates. Sorry if there is a better base script out there that I could have based my changes on.