| View previous topic :: View next topic |
| Author |
Message |
hicks Voice
Joined: 19 Dec 2007 Posts: 9
|
Posted: Sat Dec 11, 2010 10:43 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Sat Dec 11, 2010 11:12 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
bfoos Voice
Joined: 30 Sep 2010 Posts: 6
|
Posted: Mon Dec 13, 2010 7:45 pm Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Tue Dec 14, 2010 3:27 pm Post subject: |
|
|
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... _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Fri Dec 17, 2010 4:37 pm Post subject: |
|
|
| bfoos wrote: | | 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? |
sure, follow this: http://forum.egghelp.org/viewtopic.php?t=12330&start=15 _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
neocratic Voice
Joined: 16 May 2010 Posts: 15
|
|
| Back to top |
|
 |
neocratic Voice
Joined: 16 May 2010 Posts: 15
|
Posted: Wed Dec 22, 2010 1:31 am Post subject: About incith:google |
|
|
There's noone to reply to my post? please check it out |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Thu Dec 23, 2010 3:37 pm Post subject: Re: About incith:google |
|
|
| neocratic wrote: | There's noone to reply to my post? please check it out |
patience is gold  _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Thu Dec 23, 2010 11:54 pm Post subject: |
|
|
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: | 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: | | variable my_custom 1 |
_________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
Tannn3r Voice

Joined: 23 Dec 2010 Posts: 25
|
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Fri Dec 24, 2010 1:57 am Post subject: |
|
|
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. _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
Tannn3r Voice

Joined: 23 Dec 2010 Posts: 25
|
Posted: Fri Dec 24, 2010 4:53 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Fri Dec 24, 2010 10:00 pm Post subject: |
|
|
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. _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
Tannn3r Voice

Joined: 23 Dec 2010 Posts: 25
|
Posted: Fri Dec 24, 2010 11:38 pm Post subject: |
|
|
Thanks, but that did not work either. Error:
| Code: |
[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. |
|
| Back to top |
|
 |
neocratic Voice
Joined: 16 May 2010 Posts: 15
|
Posted: Sat Dec 25, 2010 12:19 am Post subject: About !g time Country |
|
|
| Thanks for helping me to add !calc as the custom command.. but how can i fix !g time country << this trigger? |
|
| Back to top |
|
 |
|