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

by Henkie2
Wed Dec 27, 2023 8:16 am
Forum: Scripting Help
Topic: Need some help on announce data
Replies: 6
Views: 6705

Re: Need some help on announce data

@CrazyCat thanks for all your useful info en support. Much appreciated, thanks once more.
by Henkie2
Wed Dec 27, 2023 7:14 am
Forum: Scripting Help
Topic: Need some help on announce data
Replies: 6
Views: 6705

Re: Need some help on announce data

I didn't modify your binds, but the bind time won't work, because the proc is done for binds pub. And actually, https://www.gameinformer.com/this-week is empty, so the script can't display anything. Ohw but how can i combine the bind time on the proc? Because i got other scripts with bind times and...
by Henkie2
Tue Dec 26, 2023 8:15 am
Forum: Scripting Help
Topic: Need some help on announce data
Replies: 6
Views: 6705

Re: Need some help on announce data

This is due to the -all flag in combination with the -inline: When using -inline, match variables may not be specified. If used with -all, the list will be concatenated at each iteration, such that a flat list is always returned. For each match iteration, the command will append the overall match d...
by Henkie2
Sat Dec 23, 2023 8:58 pm
Forum: Scripting Help
Topic: Need some help on announce data
Replies: 6
Views: 6705

Need some help on announce data

Hi all, i'm learning some basic tcl/regexp /json and right now i'm trying to get some data from web site and it all works. Only it announce everything to 2times., One good and one include the regexp lines. What i'm doing wrong? (trying to get data and announce that as list to chan) And the bind time...
by Henkie2
Tue Dec 19, 2023 11:25 am
Forum: Script Requests
Topic: Is it possible?
Replies: 2
Views: 4136

Re: Is it possible?

This one from incith still works after you change url input to this https://tclarchive.org/search.php?str=incith+horoscope&cb1=t&cb2=a&cb3=d&sub.x=0&sub.y=0 # valid, set our url set input(url) "http://www.astrology.com/horoscopes/daily-horoscope.rss" foreach sign [split...
by Henkie2
Sat Dec 16, 2023 5:10 pm
Forum: Script Requests
Topic: Upcoming movies releases from imdb webpage
Replies: 0
Views: 15549

Upcoming movies releases from imdb webpage

Get data from page: https://www.imdb.com/calendar/ I can't find any api calls this needs to get data from webpage. My code skills are way to low for this. !newmovies ask for data title, genre as list example:!newmovies 12-16-2023 Title1 - Genre: n/a 12-17-2023 Title2 - Genre: Biography,Drama etc etc...
by Henkie2
Sat Dec 16, 2023 5:03 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

Re: IP-Api.com Simple IP info TCL

Just noticed that if false ip or domain the else msg to chan not working.
How can i ask json if data is empty or 0 show error log? Thx once more
by Henkie2
Fri Dec 15, 2023 8:47 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

Re: IP-Api.com Simple IP info TCL

Thx once again, will keep that link ^^

*Updated JSON version
by Henkie2
Fri Dec 15, 2023 2:39 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

Re: IP-Api.com Simple IP info TCL

One last question :D How to set if timout error is passed or site is offline? how to show error on tcl?
by Henkie2
Thu Dec 14, 2023 9:18 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

Re: IP-Api.com Simple IP info TCL

This part is false: set page [http::data [http::geturl $url -timeout 10000]] ::http::cleanup $page ::http::unregister https It must be: set token [::http::geturl $url -timeout 10000] set page [::http::data $token] # putlog "Got this in page: $page" ::http::cleanup $token ::http::unregiste...
by Henkie2
Thu Dec 14, 2023 2:27 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

Re: IP-Api.com Simple IP info TCL

ip-api returns a json, so use json package to parse it (json2dict), don't treat it as simple string. And I'm sure there is already ip-api script samples in this forum. If not, here is a small tip: # $page is the result of your geturl set data [::json2dict $page] set ip [string map {" " &q...
by Henkie2
Thu Dec 14, 2023 1:19 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

Re: IP-Api.com Simple IP info TCL

Thx for the tips they all welcome, and i searched before i started to make this one.
Going to use that json to get some basics ^^
by Henkie2
Wed Dec 13, 2023 9:01 pm
Forum: Script Support & Releases
Topic: IP-Api.com Simple IP info TCL
Replies: 9
Views: 13361

IP-Api.com Simple IP info TCL

Trying to learn some TCL and API, this is my first simple script. Maybe the code is not the best, all tips and hints are welcome. (trying to get JSON to work only the end not works, to get the error message no data found, any one can help?) Usage: !ip 127.0.0.1 or !ip mydomain.com to get channel res...
by Henkie2
Wed Dec 13, 2023 3:46 pm
Forum: Script Requests
Topic: TheGamesDb or Giantbomb search API TCL
Replies: 0
Views: 15851

TheGamesDb or Giantbomb search API TCL

Hi all, i was looking and no results found on any TCL scripts for (TGDB) the games DB or Giantbomb. It's like TVDB and IMDB only this one for the latest games. I'm looking for a API called search tcl script. set url "https://api.thegamesdb.net/v1.1/Games/ByGameName?apikey=$api_key&name=$sea...
by Henkie2
Wed Dec 13, 2023 9:12 am
Forum: Script Requests
Topic: TVMaze Script That lists tonights shows
Replies: 18
Views: 19345

Re: TVMaze Script That lists tonights shows

With my tests, it works with https, peharps your tls package version is too old. And I'm sorry but I haven't enough time to help you more with other parts, but I think you have all elements to improve the script. Good luck ! Maybe it's outdated, will have a check on that. Thanks once again and i'm ...