TCL and IRC

Maybe I am old school, but I still hang out on IRC; the original social network. I have written some TCL scripts for Eggdrop bots over the years, and have just made massive improvements to one of my favorites – URL2IRC.

This script watches for links, and grabs the title for display in the channel. It also logs the URL and title to a web page. When I wrote this there were a lot of similar scripts for clients, but none for bots. This works with multiple channels, each with its own history page.

There was a lot to fix; redirection, header case sensitivity, TLS handling, page encoding, and more. Almost all links get a title now. There are couple outliers that I will probably work on as time permits, but this update makes it quite usable again.

You can find it on my Github.

Leave a Reply

Your email address will not be published. Required fields are marked *