Paste #35956: Edit of P#35954 DClearChat

Date: 2016/09/11 04:58:17 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13


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