Paste #107315: example2

Date: 2023/03/12 21:02:53 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
14
15
16
17
18
19


my_task:
    debug: true
    type: task
    defenitions: def1|def2|def3
    script:
    - define def1:<[def1]>
    - define def2:<[def2]>
    - define def3:<[def3]>
    - narrate <[def1]>
    - narrate <[def2]>
    - narrate <[def3]>

my_task_command:
    type: command
    name: my_task_command
    description: my_task_command
    usage: /my_task_command
    script:
    - run my_task def.def1:1 def.def2:2 def.def3:3