This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Support & discussion of released scripts, and announcements of new releases.
Koo
Voice
Posts: 37 Joined: Fri Apr 02, 2010 7:43 pm
Post
by Koo » Sun Aug 01, 2010 5:10 am
pogue wrote: Currency exchange also is no longer working (ie: !g 1usd to euro)
Really? I've tested it to my bot using the same script and here's the result:
<@Koo> !g 1usd to euro
<%Angel>1 US dollar = 0.7660 euros
It worked OK to me.
But I agree,
!i is no longer working.
pogue
Voice
Posts: 28 Joined: Sun May 17, 2009 3:56 am
Contact:
Post
by pogue » Mon Aug 02, 2010 12:48 am
Koo wrote: pogue wrote: Currency exchange also is no longer working (ie: !g 1usd to euro)
Really? I've tested it to my bot using the same script and here's the result:
<@Koo> !g 1usd to euro
<%Angel>1 US dollar = 0.7660 euros
It worked OK to me.
I'm getting different outputs.
Same happens when trying to do any currency exchange (pounds, euro, GPB, CAD, etc)
Koo
Voice
Posts: 37 Joined: Fri Apr 02, 2010 7:43 pm
Post
by Koo » Wed Aug 04, 2010 8:32 am
pogue wrote: I'm getting different outputs.
Same happens when trying to do any currency exchange (pounds, euro, GPB, CAD, etc)
That's odd.
Looks like we have to wait for the update of the script. Hopefully it would be soon.
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Thu Aug 19, 2010 8:07 pm
So yeah, I talked to
speechles about the images.google thinggie, and it's very simple to make it work again, untill he makes another release of this wonderful TCL
make the line look like this:
Code: Select all
set query "http://images.google.${country}/images?q=${input}&safe=${incith::google::safe_search}&btnG=Search+Images&ie=utf-8&sout=1"
So all in all, you just have to add this
to the end of the URL
Thank you speechless for this
!i & !images work now
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl
z0rc
Voice
Posts: 7 Joined: Mon Oct 13, 2008 9:41 am
Post
by z0rc » Wed Sep 01, 2010 8:57 am
Google Translate updated their interface once again. !tr parser is broken now.
speechles
Revered One
Posts: 1398 Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)
Post
by speechles » Wed Sep 01, 2010 1:27 pm
At the moment, I'm on very very limited satellite connection. I also, am not at home where I could update the script. I'm at my parents pretty much in the middle of nowhere. Here the fastest dialup is 28.8, hence the satellite connection which puts ridiculous caps on everything. So suffice it to say, when I get back home, the 4th or 5th I plan on updating everything that has broken in my absense.
Until then, I can post from here. Just can't do much else. My pc is on a dedicated broadband connection at home. Once I'm home expect an update shortly afterwards.
MellowB
Voice
Posts: 24 Joined: Wed Jan 23, 2008 6:02 am
Location: Germany
Contact:
Post
by MellowB » Thu Sep 02, 2010 3:26 pm
Yay, finally some good news. :Y
On the keyboard of life, always keep one finger on the ESC key.
tmyoungjr
Voice
Posts: 14 Joined: Fri Aug 24, 2007 3:30 pm
Post
by tmyoungjr » Thu Sep 02, 2010 4:10 pm
spithash wrote: So yeah, I talked to
speechles about the images.google thinggie, and it's very simple to make it work again, untill he makes another release of this wonderful TCL
make the line look like this:
Code: Select all
set query "http://images.google.${country}/images?q=${input}&safe=${incith::google::safe_search}&btnG=Search+Images&ie=utf-8&sout=1"
So all in all, you just have to add this
to the end of the URL
Thank you speechless for this
!i & !images work now
This worked thanks! Looking forward to you getting home and the next update speechles!
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Tue Sep 14, 2010 7:04 am
no news yet ?
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Wed Sep 15, 2010 3:54 pm
!ebay fails too...
it shows only the number of the results
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl
Trixar_za
Op
Posts: 143 Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:
Post
by Trixar_za » Fri Sep 17, 2010 8:56 am
You can fix google translate by changing:
Code: Select all
if {[regexp -- {<textarea name=utrans.*?">(.+?)</textarea} $html - match]} { regsub -all {<.*?>} $match "" match }
to
Code: Select all
if {[regexp -- {<div id=autotrans.*?</object></div>(.+?)</div} $html - match]} { regsub -all {<.*?>} $match "" match }
Yeah, I know, it's not the most elegant regex match ever so maybe somebody can refine it a bit more but otherwise it seems to work for me
EDIT: Ok, I refined the regex match a bit. The above code is as refined as I could make it without breaking it again.
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Fri Sep 17, 2010 1:53 pm
good call Trixar
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Sun Sep 19, 2010 3:18 pm
well, it doesn't work well though...
it should work like this:
Code: Select all
[15:11:59] < spithash> !tr amigo
[15:12:35] <@sp33chy> Google: (auto->en) Portuguese to English translation
[15:12:37] <@sp33chy> friend
but this is how it works:
Code: Select all
[15:13:06] <@spithash> !tr amigo
[15:13:08] <@nagger> Google: (auto->en)
[15:13:09] <@nagger> friend
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl
Trixar_za
Op
Posts: 143 Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:
Post
by Trixar_za » Mon Sep 20, 2010 9:58 am
You can easily add the functionality you want by changing:
Code: Select all
if {![regexp -- {</div></div></div></form>(.+?)<img} $html {} detect]} {set detect ""} { regsub -all {<.*?>} $detect "" detect}
to
Code: Select all
if {![regexp -- {<h3 id=headingtext>(.+?)</h3>} $html {} detect]} {set detect ""} { regsub -all {<.*?>} $detect "" detect}
Speechles: I envy you. You have way more patience than I do when having to deal with changing site layouts, people complaints and general support. You do provide the tools for people to fix bug themselves - all they have to do is bother to.
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Tue Sep 21, 2010 10:26 am
Trixar_za wrote: You can easily add the functionality you want by changing:
Code: Select all
if {![regexp -- {</div></div></div></form>(.+?)<img} $html {} detect]} {set detect ""} { regsub -all {<.*?>} $detect "" detect}
to
Code: Select all
if {![regexp -- {<h3 id=headingtext>(.+?)</h3>} $html {} detect]} {set detect ""} { regsub -all {<.*?>} $detect "" detect}
It really works perfect
Thanks Trixar
I'm sure speechles is more than busy lately .. hehe
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl