ok i thought abaout it and this was the best i could come up with
on 1:TEXT:*www*:#: {
set %urltext $strip($1-)
set %spammer $nick
var %g = $url(0)
while (%g > 0) {
if ( $url(%g) isin %urltext ) { set %urltext1 $url(%g) }
dec %g
}
if ( %urltext1 isin $read(badurls.txt,w,* $+ %urltext $+ *) ) {
/ban # %spammer
/kick # %spammer
[color:red] you can insert your channel msgs in this area [/color]
}
}
most http address still contain www. in them so it should work you will need to just update the badurls.txt with the new addresses you could do that like this
.EditBadUrls:/write badurls.txt $$?="BadUrl:"
[color:red] this will go in a popup file and when you click on it you can just copy and paste the url to be added [/color]
you can add a /write line to delete them also but i would just manually open the file and delete what isnt needed
i hope this helps

you will need to turn the Catcher Option on in Mirc by going to <file> <options> <irc> <catcher> then enable address catching for url's
edit for color stripping so that if the url is color coded it will still trigger