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.

Durby - 0.3.0. New project page on code.google.com

Support & discussion of released scripts, and announcements of new releases.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

x0x wrote:The problem is that I need to stick with TCL 8.5 for now (long story).

Is there another way to fix this?
Yes, but it is, rather.. a hack, messy, and possibly can cause problems..
This method is only when there is no other way. This is a crude-hack and can cause problems rather than solve them.

But.. to apply this "hack" requires two steps:
  • 1) Add the code below to the top(top is exactly what you think it is) of your eggdrop.conf:

    Code: Select all

    package forget http
    source scripts/http.tcl
.rehash your bot
S
SoUkSoU
Voice
Posts: 13
Joined: Sat Jan 11, 2014 1:35 pm

Error

Post by SoUkSoU »

Error when webbydoc is set to 1

Code: Select all

[13:37:53] Tcl error [weburlwatch]: can't read "hv": no such variable
and when i type the command !durby Web

Code: Select all

Tcl error [webby]: can't read "hv": no such variable
S
SmasHinG
Voice
Posts: 29
Joined: Mon Aug 29, 2011 2:58 am

Post by SmasHinG »

how to make to read /me $action text ? not supported action urls please make it.
Thanks
SmasHinG®
N
Nocty
Voice
Posts: 15
Joined: Tue Jun 17, 2014 3:18 pm

YouTube links no longer parse? Update your useragent!

Post by Nocty »

With the default useragent, links come back as:

Code: Select all

[10:02:55] <Grievre> https://www.youtube.com/watch?t=38
[10:02:55] <AALurker> [L] Your browser is deprecated. Please upgrade. - YouTube 
Changing the useragent to a more modern browser

Code: Select all

  set ua "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
Will fix your problem.
S
SVD
Voice
Posts: 9
Joined: Mon Mar 13, 2006 6:52 pm

Post by SVD »

In case anyone running Windrop is having problems with durby.tcl, download TLS 1.6.7 for Cygwin/Windows from http://teapot.activestate.com/package/n ... 6/file.zip (works on x64)

Shut down your bot and then extract the contents to your Windrop's /lib/ folder

Do not manually drop or add any http or tls package files in your conf - it is dangerous to do so, as mentioned in the above crude hack.

Info obtained from http://forum.egghelp.org/viewtopic.php?p=106840 and https://forum.eggdrop.fr/printthread.php?tid=1609

EDIT: Regarding UTF-8 translations, I found 2 more common ones to add to the list, to handle &#8211 dashes and &#8217 quotes. I've added it in between &Dagger and &euro, see below and remove the " quotes around those 2 lines. I had to add the " quotes otherwise the code would be replaced with the actual characters.

Code: Select all

‡ \u2021 ‰ \u2030 ‹ \u2039 › \u203A
"&#8211"; \u002D
"&#8217"; \u0027
€ \u20AC &apos; \u0027 ‎ "" ‏ "" ? "" ? ""
Post Reply