Date: 2023/09/07 08:31:50 UTC-07:00
Type: Denizen Script
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