Okay so I used this code:

Code:
on *:text:*test*:#:{
  if ($hfind(antibadword,$strip($1-),1,R).data) {
    ban -k $chan $nick 2 antibadword ( base word: $v1 )
  }
}
;/addbadword refword expression
;example /addbadword test test
alias addbadword hadd -m antibadword $1 (*UTF8) $+ $regsubex($2-,/(*UTF8)(.)/g,$iif($isalias(regvar_\1),$($+($,regvar_\1),2),\1))

alias regvar_E return [eéèêEÉÊ]


I put in "test" on this part:
Code:
on *:text:*test*:#:


But it doesn't ban the user who types test or tést.
I am so confused. I am connected and mirc is working fine with my original script so I am doing it wrong (again)
Do I have to replace the words "antibadword" and "addbadword" if so, with what do I replace it?

With kind regards,
Ry