I was hoping it would just auto grab all inappropriate websites by using the Google API. Although, I guess I could add it to the Blacklist although that process seems lengthy. I have a mock up script I use right now for banning all links, and I was hoping I could use this one instead, but as I have read through it I realize the lack of Permit commands and what not. Maybe I will look into blending of the two scripts. Anyway, I am looking to create a full Chat Bot script that looks much like Nightbot or Moobot and post it for free online, although I am new to mIRC I am not all that new to Scripting, would you be interested in this project?
Google's API only checks against their phishing and malware blacklists. If you don't allow links that have been deemed inappropriate and you don't want to make the moderators do any work, then a whitelist will always work better than a blacklist.
I wondered if you were planning to use it for twitch when you referenced messages being removed. That's not something normally included with IRC clients.
This script is probably not what you're looking for. It would take a fair amount of work to modify it to allow each channel to control what it does when links are posted. It also only handles "clickable" links, i.e. links that have not been modified to avoid a filter (since the main purpose was to deal with phishing links being posted and people clicking without realizing it was a fake website).
As much as I hate to admit it, mIRC simply can't operate at the scale of Nightbot/moobot. If you want to offer some of the same features with your own twist for a few channels (or make the scripts available so people can run their own version for their channel) that's one thing, but it would be impossible to run a bot for even a few hundred channels using mIRC.
Did you blacklist the domain of the porn site? I didn't really write it with filtering out porn or other "inappropriate" links in mind, but it can function as a blacklist if that's what you want.
Also, unless you've added some commands to ban a user the most it will do is post a warning. With the possibility of false positives or incorrect usage of black/white lists, I felt it was best to leave out banning and let moderators decide how to handle the warnings. You can change the behavior to kick/ban relatively easily if that's what you would prefer.