Paste #28095: Untitled Paste

Date: 2016/01/09 01:03:25 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Backpack:
    type: assignment
    interact scripts:
    - 10 BackpackStart

BackpackStart:
    type:interact
    steps:
        1:
            click trigger:
                script:
                - narrate "Type /backpack or /bp"
                - if <player.has_flag[backpack].not> {
                    - flag <player> backpack
                    - give wood_pickaxe
                    - give wood_spade
                    - give wood_axe
                    - give wood_sword
                }


# Check_Command: 
#   type: world 
#    events: 
#    on backpack command: 
#      narrate "Congratulations, you executed the backpack command!"