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 826 matches

by SpiKe^^
Wed Mar 15, 2023 9:56 pm
Forum: Script Requests
Topic: TVMaze Script That lists tonights shows
Replies: 18
Views: 19810

Well then Caesar's "global tvmaze_api_key" line will clear that error...
by SpiKe^^
Wed Mar 15, 2023 9:50 pm
Forum: Script Requests
Topic: TVMaze Script That lists tonights shows
Replies: 18
Views: 19810

AI bots are far from smart

You have all the same code repeated twice in your script!

Remove all of the duplicate code, then apply the global fix as posted by CrazyCat & caesar to the remaining code.

That will clear the first error you posted above.
by SpiKe^^
Sat Mar 04, 2023 2:35 pm
Forum: Scripting Help
Topic: GoogleNews
Replies: 47
Views: 28056

lmap was new in tcl 8.6

lmap was new in tcl 8.6

Update your tcl version to 8.6+ to get past this error.
by SpiKe^^
Thu Mar 02, 2023 7:36 pm
Forum: Scripting Help
Topic: gsearch
Replies: 3
Views: 4052

Move this line of code

Code: Select all

set ::google "\00302G\00304o\00308o\00302g\00303l\00304e\003"
to be outside of the proc goo:gle, maybe up with the other script settings.
by SpiKe^^
Mon Feb 27, 2023 12:45 pm
Forum: Scripting Help
Topic: extract json data
Replies: 5
Views: 3406

json=>list=>json fix?

That json data is somewhat odd, keeping the easiest plans from working:) Let us assume you have that data you posted above saved in a variable named $jsondata I might use something like this... package require json set jdict [::json::json2dict $jsondata] set todaytext [dict get [lindex [dict get $jd...
by SpiKe^^
Mon Feb 20, 2023 11:58 pm
Forum: Script Requests
Topic: Auto Rehash
Replies: 3
Views: 3132

My first thought is that you are replacing the built in Eggdrop rehash command with one of your own that no longer rehashes the bot at all:)

...and settimer is not an eggdrop tcl command I'm aware of.
by SpiKe^^
Mon Feb 13, 2023 2:44 pm
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

ausStocks.tcl version 0.3 10Feb2023

Version 0.3 tries to make this script a little more user friendly: 1) script will now follow the redirect to the "Similar Symbol Lookup" page. 2) use .chanset #channel +asx to enable this script by channel. 3) and/or use the new channel setting: set asx(chan) "#chan #anotherchan"...
by SpiKe^^
Sat Jan 28, 2023 9:16 am
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

ausStocks.tcl version 0.2 27Jan2023

Version 0.2 adds some bare minimum sanity/error checks w/ reporting: 1) restricts user input to 3 - 6 alphanumeric characters. 2) adds some error checking on the http connection & get. 3) put the entire script code in the namespace ausStocks. ## ausStocks.tcl version 0.2 27Jan2023 ## ## Version ...
by SpiKe^^
Wed Jan 25, 2023 7:46 pm
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

thommey said put it there, and stop using ::http::unregister https:)
by SpiKe^^
Wed Jan 25, 2023 6:32 pm
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

ausStocks.tcl version 0.1 24Jan2023

Tested some, give it a shot:) ## ausStocks.tcl version 0.1 24Jan2023 ## # public command syntax: !asx <symbol> # example: !asx csl package require http package require tls http::register https 443 {tls::socket -autoservername true} bind pub - !asx asx:bindpub proc asx:bindpub {nk uh hn ch tx} { set ...
by SpiKe^^
Sun Jan 22, 2023 2:49 am
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

maybe au.finance.yahoo.com/quote/

Looks to me like the source code from here is user friendly:)
https://au.finance.yahoo.com/quote/CBA.AX?p=CBA.AX

With that being all the data available, what fields would you include in the channel post?
by SpiKe^^
Sun Jan 22, 2023 12:12 am
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

Looking over the html source file much closer, shows they hide their quote data very well. <td>Last (Price)</td> <td class="text-right"> <span data-quoteapi="price"></span> </td> </tr> <tr> <td>Change</td> <td class="text-right" data-quoteapi="changeSignCSS"> ...
by SpiKe^^
Mon Jan 16, 2023 3:30 pm
Forum: Scripting Help
Topic: badchan - incompatible channel
Replies: 2
Views: 3123

BanChan 3.4 by Clown-Man

First put this new setting somewhere in the Options section of the script, and add your exempt nicks/masks. # List all Exempt Nicks |and/or| nk!usr@host masks, space separated. # example: set exemptmasks "tom dick harry *!*@sum.host *!myusername@*" set exemptmasks "" Then add thi...
by SpiKe^^
Fri Jan 13, 2023 9:26 am
Forum: Script Requests
Topic: stock exchange script for Australia
Replies: 15
Views: 6835

There is a pile of info in the "Snapshot", way too much to present in a channel post.

Maybe pick a few key entries to present?
Better yet, type out an example of what a channel post would look like:)
by SpiKe^^
Tue Jan 10, 2023 4:32 am
Forum: Script Requests
Topic: check if nick is still on channel before kicking
Replies: 10
Views: 2506

No, it was "proper" as I posted it originally.