I found this old post by searching, I would like to exclude certain URL's from being banned but have no idea how
on @*:TEXT:*:#: {
; The list of Urls/emails. Items should be separated by commas
var %swears = www.,http:,https:,.com,.nl,.net,.tk,.eu,@hotmail,@live
; Number of times to warn before banning
var %warns = 2
; The spacing is important in the following line
if (!$regex($nick(#,$nick).pnick,/[~@]/) && $count($strip($1-), [ %swears ] )) {
inc $+(%,swear.,$wildsite)
var %n = $($+(%,swear.,$wildsite),2)
if (%n <= %warns) {
.msg $chan 4 $nick $+ , 14dit is waarschuwing nr:4 $(%n) 14om geen website URL's/Emailadressen in de room te typen, na4 3 x14 volgt er een ban.) 3@ 12Room-Bot 3@
}
else {
ban -ku300 $chan $nick 2 14Je was gewaarschuwd4 $nick . 14Geen Website's/Emailadressen plaatsen in de room. 3@ 12Room-Bot 3@
unset $+(%,swear.,$wildsite)
}
}
}
Want to exclude links refering pertaining to my own network
Like If is
http://www.newdawnirc.com/volwasseklets.html then return something like that?