Do you mean that you want a person to be de-voiced after they have made three messages?
If so try
on @*:text:*:#:{
inc $+(%,$nick)
if $($+(%,$nick),2) == 3 {
.mode $chan -v $nick
}
}
If not, please clarify what you mean, as your English is difficult to understand.