egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Durby - 0.3.0. New project page on code.google.com
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Tue Aug 06, 2013 4:29 pm    Post subject: Reply with quote

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:
    package forget http
    source scripts/http.tcl




.rehash your bot
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
SoUkSoU
Voice


Joined: 11 Jan 2014
Posts: 13

PostPosted: Wed Jan 15, 2014 4:48 pm    Post subject: Error Reply with quote

Error when webbydoc is set to 1

Code:
[13:37:53] Tcl error [weburlwatch]: can't read "hv": no such variable


and when i type the command !durby Web

Code:
Tcl error [webby]: can't read "hv": no such variable
Back to top
View user's profile Send private message
SmasHinG
Voice


Joined: 29 Aug 2011
Posts: 29

PostPosted: Fri Mar 27, 2015 4:03 am    Post subject: Reply with quote

how to make to read /me $action text ? not supported action urls please make it.
Thanks
_________________
SmasHinG®
Back to top
View user's profile Send private message
Nocty
Voice


Joined: 17 Jun 2014
Posts: 15

PostPosted: Fri May 01, 2015 11:14 pm    Post subject: YouTube links no longer parse? Update your useragent! Reply with quote

With the default useragent, links come back as:

Code:
[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:
  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.
Back to top
View user's profile Send private message
SVD
Voice


Joined: 13 Mar 2006
Posts: 9

PostPosted: Mon Oct 29, 2018 2:26 pm    Post subject: Reply with quote

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/name/tls/ver/1.6.7/arch/win32-ix86/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:

&Dagger; \u2021 &permil; \u2030 &lsaquo; \u2039 &rsaquo; \u203A
"&#8211"; \u002D
"&#8217"; \u0027
&euro; \u20AC &apos; \u0027 &lrm; "" &rlm; "" ? "" ? ""
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber