I want to make command, for locking the chat (nobody can type). But its not nobody! Only mod can type in the chat.
on *:TEXT:!lock:#: {
???
}
Like the other poster said, you would need to set the channel +m for moderated. This means only voiced users and higher can talk.
on @*:text:!lock:#: {
mode # +m
}