Paste #110506: Unnamed Denizen Script Paste

Date: 2023/05/30 12:21:34 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


looten:
    type: command
    name: looten
    usage: /looten
    description: loot
    script:
        - define players <player.location.find_npcs_within[3]>
        - if <[players].filter[has_flag[bewusstlos]].is_empty>:
            - stop
        - else:
            - inventory open d:<[players].filter[has_flag[bewusstlos]].first.inventory>