Paste #51203: kjl

Date: 2018/12/22 15:21:14 UTC-08: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


script2:
    type: world
    events:
#If player is not [Thomas], give warning message & instructions to custom command/alias to override
        on npc command:
            - if <c.args.get[1].to_lowercase||null> != remove:
                - queue clear
            - if <c.args.get[2].to_lowercase||null> != one:
                - queue clear
            - if <player.name> != Thomas:
                - narrate "<&c>Please type <&4>/NpcRemoveAllConfirm<&c> if you are <&l><&4>ABSOLUTELY<&r><&c> sure you want to remove Every NPC..."
                - determine fulfilled
            - else:
                - queue clear