CrazyCat 1 question when the string map is * badword * how can be with space when i add word kar to not match and ban user for word miokardi
to check and match only the word kar kar kkkar kaaar karrrr kar k aa r
i have the regex for that but this string match is match miokardi for the word added in list kar
if {[string match -nocase "* [lindex [split $ b,] 1] *" $ arg]
any idea how can be better to not match other words in front midle end of the word i add in list badwords
[17:09:58] <army> .bw add kar
[17:10:00] <Nasa> Succesfully added 'kar' into the global database.
[05:10:04] <VIRUS> miokardi
[05:10:04] * Nasa sets mode: + b *!*@nasa.army-3F8BE0D0.access.hol.gr
to check and match only the word kar kar kkkar kaaar karrrr kar k aa r
i have the regex for that but this string match is match miokardi for the word added in list kar
if {[string match -nocase "* [lindex [split $ b,] 1] *" $ arg]
any idea how can be better to not match other words in front midle end of the word i add in list badwords
[17:09:58] <army> .bw add kar
[17:10:00] <Nasa> Succesfully added 'kar' into the global database.
[05:10:04] <VIRUS> miokardi
[05:10:04] * Nasa sets mode: + b *!*@nasa.army-3F8BE0D0.access.hol.gr