Paste #51666: qwe

Date: 2019/01/20 18:52:10 UTC-08: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
14
15
16
17
18
19
20


testchat_command:
    type: command
    name: testchat
    debug: true
    description: Staff Chat Test
    aliases:
      - tc
    usage: /testchat
    script:
      - if <player.has_permission[Behrry.Chat.Staffchat]>:
        - if <player.in_group[Co-Owner]>||<player.in_group[Owner]>:
          - narrate format:Staffchat1 "<context.raw_args>"
        - else if <player.in_group[Admin]>:
          - narrate format:Staffchat2 "<context.raw_args>"
        - else if <player.in_group[Mod]>:
          - narrate format:Staffchat2 "<context.raw_args>"
        - else if <player.in_group[PMod]>:
          - narrate format:Staffchat2 "<context.raw_args>"
        - else if <player.in_group[HeadBuilder]>:
          - narrate format:Staffchat3 "<context.raw_args>"