Private Spam

By G13AoUsTiS on Nov 14, 2007

a simple private protection script

on ^*:open:?: {
if (*http*//* iswm $1- || *join*#* iswm $1- || *porn* iswm $1- || *sex* iswm $1- || *fuck* iswm $1- || *www.* iswm $1- ) {
var %c $comchan($nick,0)
while (%c) {
if ($me isop $comchan($nick,%c)) { ban $comchan($nick,%c) $nick 2 | kick $comchan($nick,%c) $nick Banned: Spam detected in private}
dec %c
}
haltdef
}
}

Comments

Sign in to comment.
ermansanidhya   -  Nov 17, 2007

still kick another op ??

 Respond  
G13AoUsTiS   -  Nov 15, 2007

thnxs!

 Respond  
guest598594   -  Nov 14, 2007

take advantage of $v1 and $v2, it would really come in handy in ur place, cuz in the while, $comchan($nick,%c) is $v2, so then u can do /kick $v2 and /ban $v2

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.