Problème anti insultes
#7
Je pense que le soucis vient alors du test (il y a un join sur le badword défini, ça doit virer les espaces).
tcl
if { [regsub -all "$badw" $args "" dummy] } {


vérifie la présence du mot (ou de la chaine de mots) dans les arguments, il faudrait lui ajouter des délimiteurs comme \b (délimiteur de mot) avant et après $badw
Répondre


Messages dans ce sujet
Problème anti insultes - par Alpha_67 - 06/03/2008, 23:06
RE: Problème anti insultes - par CrazyCat - 06/03/2008, 23:30
RE: Problème anti insultes - par Alpha_67 - 06/03/2008, 23:47
RE: Problème anti insultes - par CrazyCat - 06/03/2008, 23:54
RE: Problème anti insultes - par Alpha_67 - 07/03/2008, 00:10
RE: Problème anti insultes - par Alpha_67 - 07/03/2008, 09:31
RE: Problème anti insultes - par CrazyCat - 07/03/2008, 09:53
RE: Problème anti insultes - par Alpha_67 - 07/03/2008, 10:19
RE: Problème anti insultes - par Alpha_67 - 07/03/2008, 10:26
RE: Problème anti insultes - par CrazyCat - 07/03/2008, 14:08
RE: Problème anti insultes - par Alpha_67 - 07/03/2008, 14:22
RE: Problème anti insultes - par CrazyCat - 07/03/2008, 18:50
RE: Problème anti insultes - par Alpha_67 - 07/03/2008, 19:50

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté