on @*:text:*:#:{
if ($regex($1-,/[color:orange]http:\/\/www\.(?!(?:
darkthrone\.com\/recruit\.dt\?uid[color:blue]|kingsofchaos\.com\/recruit\.php\?uniqid
|planetbattleground\.com\/recruit\.php\?id[/color])
=\d+\b)|http:\/\/(?!www)|(?<!\/\/)www\./S) {
ban -ku30 $chan $nick Unacceptable Link!!!!
}
}[/color]
You can fit it on one line if you want
(in short: find instances of
http://www. with no darkthrone, kingsofchaos or planetbattleground behind or instances of http:// with no www after or instances of www with no :// before)