No guys ..i try to connect your codes with mine who has
warning first and then kick-ban but its not worked ..its crash my mirc
This is the original code
if someone can make it to work also with wildcards - iswm i thing(ex. *dam* or *shi*)...i will obliged

on @*:TEXT:*:#: {
if ($nick !isop #) {
var %i = 0
while (%i < $numtok($read(swear.txt,1),32)) {
inc %i
var %current.word = $gettok($read(swear.txt,1),%i,32) {
if ($istok($strip($1-),%current.word,32) == $true) {
set -u3600 %rl. [ $+ [ $address($nick,2) ] ] $calc( %rl. [ $+ [ $address($nick,2) ] ] + 1)
if (%rl. [ $+ [ $address($nick,2) ] ] == 1) {
notice $nick Please don't! - this is your first warning! next time is ban.
}
if (%rl. [ $+ [ $address($nick,2) ] ] >= 2) {
ban -k $chan $nick 2 Banned for $duration($duration(24 hrs)) --> $ifmatch <--
}
}
}
}
}
}