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.

UNOFFICIAL incith-google 2.1x (Nov30,2o12)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
h
hicks
Voice
Posts: 9
Joined: Wed Dec 19, 2007 3:22 pm

Post by hicks »

spithash wrote:This is what I get after compilling the bot with utf support:
Here is an example, my utf works great on urban dict:

<snip>
Sorry for thread hijack, but which urban dictionary script is that? The one I always used that gave output very similar to that stopped working.
User avatar
spithash
Master
Posts: 248
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

hicks wrote:
spithash wrote:This is what I get after compilling the bot with utf support:
Here is an example, my utf works great on urban dict:

<snip>
Sorry for thread hijack, but which urban dictionary script is that? The one I always used that gave output very similar to that stopped working.
That's PerpleXa's Urban Dictionary TCL
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
b
bfoos
Voice
Posts: 6
Joined: Thu Sep 30, 2010 6:17 pm

Post by bfoos »

spithash wrote:
hicks wrote:
spithash wrote:This is what I get after compilling the bot with utf support:
Here is an example, my utf works great on urban dict:

<snip>
Sorry for thread hijack, but which urban dictionary script is that? The one I always used that gave output very similar to that stopped working.
That's PerpleXa's Urban Dictionary TCL
Your copy is still working? Mind sharing it?
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

Something tells me I should update mine one of these days...

Search function works well, but I want to add in a way to show multiple definitions and show the number of them avaliable. I also want to add throttle support and make multi-line adjustable.

I really dislike using external scripts when TCL can do the job just as well...
User avatar
spithash
Master
Posts: 248
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

bfoos wrote:
spithash wrote:
hicks wrote: Sorry for thread hijack, but which urban dictionary script is that? The one I always used that gave output very similar to that stopped working.
That's PerpleXa's Urban Dictionary TCL
Your copy is still working? Mind sharing it?
sure, follow this: http://forum.egghelp.org/viewtopic.php?t=12330&start=15
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
n
neocratic
Voice
Posts: 15
Joined: Sun May 16, 2010 11:59 am

Few functions that aren't working

Post by neocratic »

Below are the commands which are not working on this tcl

!g time country

[21:47] <~illusion> !g time Nepal
[21:47] <JoeSatriani> 126,000,000 results | Current local time in Nepal @ http://www.worldtimeserver.com/current_time_in_NP.aspx | Nepal Time Zone Converter Difference Calculator @ http://www.worldtimeserver.com/convert_time_in_NP.aspx | Current local time in Nepal Kathmandu @ http://www.timeanddate.com/worldclock/city.html?n=117

This command used to work before.
!calc calculation for an eg: !calc 2+2

Can you please include this also in the incith-google tcl?
Thanks in advance
n
neocratic
Voice
Posts: 15
Joined: Sun May 16, 2010 11:59 am

About incith:google

Post by neocratic »

There's noone to reply to my post? :( please check it out
User avatar
spithash
Master
Posts: 248
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Re: About incith:google

Post by spithash »

neocratic wrote:There's noone to reply to my post? :( please check it out
patience is gold :wink:
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

There is already such a command: !g 2+2 - but since you want it to be calc, you can also add it as a custom trigger:

Code: Select all

    variable my_customs {
      "calc:g:%search%"
and like magic !calc will work for you (after a rehash of course).

You also may want to check if custom tiggers are enabled by setting this to 1:

Code: Select all

    variable my_custom 1
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Error

Post by Tannn3r »

I have this error for 2.00: http://tannn3r.pastebin.com/Vt6itQQf
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

First answer the following questions:
1. What kind of system are you running it on? Linux, Unix or Windows? Which version?
2. Which version of Eggdrop are you running?
3. Which TCL/TK versions do you have installed?
4. What other scripts do you have loaded?
5. Do you have TCL's html2.5 module or better installed?
6. Did you modify the script in any way before trying to load it?

The more information you can provide for us, the easier it's to help you fix it. The less you provide (and an error log isn't very helpful), the less likely it is we can help you solve the problem.
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

Trixar_za wrote:First answer the following questions:
1. What kind of system are you running it on? Linux, Unix or Windows? Which version?
2. Which version of Eggdrop are you running?
3. Which TCL/TK versions do you have installed?
4. What other scripts do you have loaded?
5. Do you have TCL's html2.5 module or better installed?
6. Did you modify the script in any way before trying to load it?

The more information you can provide for us, the easier it's to help you fix it. The less you provide (and an error log isn't very helpful), the less likely it is we can help you solve the problem.
1. Linux, unknown version
2. 1.6.19
3. n/a
4. Need, Services, AllProtection, and ChanStats
5. No (I'm thinking this IS the problem)
6. Yes, but only necessary config options
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

Sorry, I meant http2.5 and not html2.5 - I got a little confused about the name of the module :/

You can check your linux version with the uname -a command.

You must have TCL/TK installed to even be able to run any TCL scripts in eggdrop. My one shell only installs http2.4, which does present problems. but if http2.5 (or better) isn't installed (and some shells don't install the right version or at all), it isn't a complete train wreck. All you need to do is get a copy of http.tcl which you can put in your eggdrop scripts folder and load before any script that may require it. You can get a copy of mine from here. I'm also forced to run it this way because my shell uses an older version than one of speechles's other scripts require.
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

Thanks, but that did not work either. Error:

Code: Select all

[22:36] Error while loading http.tcl: wrong # args: should be "package provide p                    ackage ?version?"
[22:36] Error while loading google.tcl: can't read "html": no such variable
And my linux version is:

Linux nx01 2.6.32.15grsec1.0-custom02-grsec #1 SMP Mon Jun 7 12:56:19 EDT 2010 i686 GNU/Linux

And I believe TCL must be installed because other scripts are working, but I also have errors with others.
n
neocratic
Voice
Posts: 15
Joined: Sun May 16, 2010 11:59 am

About !g time Country

Post by neocratic »

Thanks for helping me to add !calc as the custom command.. but how can i fix !g time country << this trigger?
Post Reply