well ive thought this would be more handy , just use /ads to add any spam msg e.g:
/ads www.
/ads http://
/ads /server
/ads /join
etc...
on @:text::#:{
set %len $gettok(%ads,0,32)
while (%len) {
if ($+(,$gettok(%ads,%len,32),) iswm $strip($1-)) && ($nick isreg $chan) { ban -k $chan $nick 2 Please Do NOT Advertise ANYTHING! | halt }
dec %len
}
}
alias ads set %ads %ads $1