Hello there,

I am one of the ops on a chat system that caters for several thousand users.

Unfortunately quite often we get people trying to be smart posting urls to websites containing porn, warez, hack sites, etc. Things which are against the T&C of our system and who knows why they do it.

Anyway to combat this Ive been using simple text matching scripts for each bad url such as:

on 1:TEXT:$(*offensiveurl.com*):#channel1,#channel2,#channel3: {
/msg $nick You have been banned for pasting that OFFENSIVE link (This is an Auto Ban)
/msg $nick Please Read the Terms & Conditions
/msg $chan **WARNING** DO NOT click on that link it contains a very OFFENSIVE picture!
/msg $chan $nick has just managed to ban themeselves posting that OFFENSIVE URL! DO NOT post things like that (AutoBan)

Followed by the command to ban the user from one or more channels.

This works aok but its a pain to update as you could imagine with new nasty URL's which become the flavour of the week (outwar, etc) as each url requires (well, with my novice scipting knowledge) its own trigger script.

What I would like to work out is how to allow myself and other ops to add/remove urls which we deem offensive to a master list with a command so that the 1 central script just uses a lookup table of badwords so to speak.

We dont want to try block everything under the sun as this would be stupid and impossible, theres usually only 1/2 doz favorite common crude sites that people spam, but occasionally we'd love to add/remove some with more ease than me just having to edit my script manually.

Any help would be greatly appreciated.