Paste #114899: Unnamed Denizen Script Paste

Date: 2023/09/07 08:31:50 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


chat_formatting:
  type: world
  debug: false
  enabled: true
  events:
    on player chats flagged:!player.chat.busy:
      - determine cancelled passively
      - define testlist <list[abc|def]>
      - foreach <context.message.split> as:arg:
        - if <[testlist].filter_tag[<[arg].starts_with[<[filter_value]>]>].any>:
          - define textrpl <[textrpl].replace[<[arg]>].with[<&c><[arg]><&r>]>
    #rest of the script below