Paste #119819: bug_map_command

Date: 2024/01/28 02:54:54 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


bug_map_command:
    type: command
    name: bugtestmapping
    description: Bug report
    usage: /bugtestmapping
    script:
    - define map <map[Valueee=1;Value=2]>
    - define element:5
    #WONT WORK IF MAP IS THE FIRST DEFINITION
    - run bug_map_task def:<[map]>|<[element]>
    #WILL WORK IF MAP IS THE LAST DEFINITION
    - run bug_map_task2 def:<[element]>|<[map]>

bug_map_task:
    type: task
    definitions: map|element
    script:
    - narrate "<[element]>     <[map]>"

bug_map_task2:
    type: task
    definitions: element|map
    script:
    - narrate "<[element]>     <[map]>"