I've seen some of the bad work filters in some topics that read off swear.txt etc and thats what i want to do but with it to be able to pick up wildcards aswell from swear.txt
the ones posted just pick up the word in the sentence and not when someone does dfgjkdfgjkfuckfdgjdfklgjdg etc
I was just wondering if someone could help or could see about what to do.
on @*:TEXT:*:#:{
if ($nick !isop #) {
if ($regex($strip($1-),/(blah|blah|blah|blah|blah)/i)) {
ban # $gettok($address($nick,2),1,32) | kick # $nick Please Do Not Swear
}
}
}
i found this on a site and works and picks up wildcard with the swear you add
would it be possible to keep this the way it is and have it read off swear.txt instead of adding the words where blah is.