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.

Search found 9 matches

by jaxson
Wed Jun 29, 2022 3:42 am
Forum: Scripting Help
Topic: GoogleNews
Replies: 47
Views: 34449

Do you have a special character at the first line character 0?

Goga wrote:

Code: Select all

Tcl error [Google:News]: error "syntax error" at line 1 character 0
"0 <--Error-- "
Getting this error in result of above Script.
by jaxson
Fri Jan 28, 2022 2:47 am
Forum: Script Requests
Topic: Dictionary
Replies: 11
Views: 5363

Quick case fix for argument given

Replace this line: set fullurl "$dt(link)$arg
With this line: set fullurl [string tolower "$dt(link)$arg"]
by jaxson
Thu Jan 27, 2022 7:17 am
Forum: Script Requests
Topic: Dictionary
Replies: 11
Views: 5363

v1.3 Fix for early versions of tcl-tls v1.7

# Description: This script will query dictionary.com and give a simple response # # v1.0 Initial release giving a simple dictionary result (jaxson) # v1.1 Added the .dictChan command to allow a channel access to the .dict command (jaxson) # v1.2 Fix for wrong color procs - my bad for copying colors...
by jaxson
Sat Jan 22, 2022 7:10 pm
Forum: Script Requests
Topic: Dictionary
Replies: 11
Views: 5363

v1.2 color proc fix

# Description: This script will query dictionary.com and give a simple response # # v1.0 Initial release giving a simple dictionary result (jaxson) # v1.1 Added the .dictChan command to allow a channel access to the .dict command (jaxson) # v1.2 Fix for wrong color procs - my bad for copying colors...
by jaxson
Sat Jan 22, 2022 5:45 am
Forum: Script Requests
Topic: Dictionary
Replies: 11
Views: 5363

Version 1.1 - Added .dictChan trigger for adding channels

# Description: This script will query dictionary.com and give a simple response # # v1.0 Initial release giving a simple dictionary result (jaxson) # v1.1 Added the .dictChan command to allow a channel access to the .dict command (jaxson) # # Needed packages package require http 2.3 package require...
by jaxson
Sat Jan 22, 2022 12:46 am
Forum: Script Requests
Topic: Dictionary
Replies: 11
Views: 5363

Try this one

package require http 2.3 package require tls 1.6.4 package present Tcl 8.6 proc cblack {} {return \00301}; proc cltblue {} {return \00311}; proc cblue {} {return \00312}; proc coff {} {return \017} set dt(link) "https://www.dictionary.com/browse/" # set the following array to which chans ...
by jaxson
Sat Jan 01, 2022 2:24 am
Forum: Scripting Help
Topic: GoogleNews
Replies: 47
Views: 34449

Try this one

# Google news v0.3 by nrt (01Dec2015) # Updated GoogleNews Country links and added some more lines for redirected link support (04Jan2018) karakedi # Updated the 'bind time' to 'bind cron' format for newer eggdrops; modified the foreach channel loop to allow for spam to all channels that are set to...
by jaxson
Fri Dec 31, 2021 10:29 am
Forum: Scripting Help
Topic: GoogleNews
Replies: 47
Views: 34449

bind time change

Also the bind time change doesn't work like that in the new eggdrop. Use bind cron like the below instead:

bind cron - "*/5 * * * *" Google:News

The above will call Google:News every five minutes.

Join #eggdrop on irc.rizon.net:6667 for further help.
by jaxson
Fri Dec 31, 2021 4:51 am
Forum: Scripting Help
Topic: GoogleNews
Replies: 47
Views: 34449

Move set ::oldnews "$newsdesc $newslink"

Move this line out of the foreach loop: set ::oldnews "$newsdesc $newslink" Like this: proc Google:News args { foreach chan [channels] { if {[channel get $chan googlenews]} { set news [newsdom] set newsdesc [lindex [split $news |] 0] set newslink [getRealLink [lindex [split $news |] end-1]...