ON 1:TEXT:*:#chan: {
if ($wildtok($strip($1-),#*,0,32) > 0) {
{
if ($wildtok($1-,*#*,1,32)) {
var %n = $remove($ifmatch,!,.,$chr(44),?)
if (%n != $chan) {
.raw join %n $cr PRIVMSG %n :Lad være med at reklamere på min kanal! / Do not advertise in my channel: < $+ $nick $+ > $1- $cr PART %n
}
}
}
if ($ifmatch != $chan) {
inc $+(%,spam,$chan,$wildsite)
if ($($+(%,spam,$chan,$wildsite),2) = 1) {
notice $nick Ingen reklamer mens du opholder dig i $chan please! Det her er din første advarsel, 2 advarsel udløser auto-kick!
}
elseif ($($+(%,spam,$chan,$wildsite),2) = 2) {
kick $chan $nick Der blev sagt ingen reklamer, dette var 2 advarsel + kick. Gør det igen, og bliv banned!
}
else {
ban $chan $nick 2 Der blev sagt ingen reklamer, tænk over det mens du er banned!

}
}
}
}
Right now, it reacts only on #
I would like it to react on both <#*>, < ¤*>, <*www*> and <http://*>
At the same time, it has to check if the abuser is an op, and if he is, it has to halt.

Can anyone figure this out?