Problem description:
Hello. How can i count usr msg. And when a nother usr say something it gets counts for first user to 0.
I want to make that when same person say 7 msg consecutively it will ban him.

Do you mean if they say the same thing or just use msg 7 times?
just use 7 msg
What I would do is create a var. When a person uses msg put +1 onto the var and do a proc check. If the proc is successful (the var >=7) then the player is muted.
Or ban or whatever you intend for it to do sorry.