clearchat:
type: command
name: cc
description: ClearChat
usage: /cc
allowed help:
- determine <player.is_op>
script:
- if !<player.is_op> {
- queue clear
}
- - ^repeat 100 { - narrate "" }
- - ^narrate "<&c>[<&6>DClearChat<&c>] <player.name.display> <&8>cleared the chat... !"
+ - ^repeat 100 { - announce "" }
+ - ^announce "<&c>[<&6>DClearChat<&c>] <player.name.display> <&8>cleared the chat... !"