on @*:text:*:#:{if $nick isreg # { var %k = 1,%kk = $lines(reklam.txt) | while %k <= %kk { if $+(*,$read(reklam.txt,%k),*) iswm $1- { ban -ku600 $chan $nick 2 reklam detected out out > $read(reklam.txt,%k) | return $true } | inc %k } | return $false }
on @*:action:*:#:{if $nick isreg # { var %k = 1,%kk = $lines(reklam.txt) | while %k <= %kk { if $+(*,$read(reklam.txt,%k),*) iswm $1- { ban -ku600 $chan $nick 2 reklam detected out out > $read(reklam.txt,%k) | return $true } | inc %k } | return $false }
on @*:notice:*:#:{if $nick isreg # { var %k = 1,%kk = $lines(reklam.txt) | while %k <= %kk { if $+(*,$read(reklam.txt,%k),*) iswm $1- { ban -ku600 $chan $nick 2 reklam detected out out > $read(reklam.txt,%k) | return $true } | inc %k } | return $false }