Paste #37848: Edit of P#37845 - Edit of P#37843 - Edit of P#37841 - Edit of P#37839 - wait

Date: 2016/11/21 20:19:25 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


# To assign to an NPC, literally type:
# /npc assign --set "CH_santa_greeter_assign"
CH_santa_greeter_assign:
    type: assignment
    actions:
        on assignment:
        - trigger name:proximity state:true
        - trigger name:click state:true
        - lookclose
        on move proximity:
        - if <player.has_flag[mynpc_cooldown]> queue clear
      - random {
        - narrate format:cchat "<&b><player.name><&f>! Good list or bad this year?"
        - narrate format:cchat "Now where did I put my list?"
        - narrate format:cchat "<&b>Momma Claus!!<&b>"
      }
        - flag player mynpc_cooldown delay:5s
    interact scripts:
    - 10 CH_santa_greeter_interact

CH_santa_greeter_interact:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate format:cchat "Welcome to <&c>Santa's Surprise, <&b><player.name>!"
                - wait 1
                - narrate format:cchat "Were you Naughty or Nice this year? Type <&b>Naughty <&f>or <&b>Nice" 
            chat trigger: 
                'Naughty': 
                    trigger: "/Naughty/ Evil Grin" 
                    script: 
                    - narrate format:cchat "<&c>ChromaHills <&f>uses an advanced <&6>Points System <&f>for kits and things, you <&6>can register <&f>at <&2>www.trappedchest.com <&f>to use the Points System."
                    - wait 2 
                    - narrate format:cchat "I gave you a book that tells you about the server too"
                    - wait 2
                    - narrate format:cchat "You can play Survival with no worry even without registering!!"
                    - wait 2
                    - narrate format:cchat "Use the command <&b>/menu <&f>to access the <&6>Game Menu <&f>at any time." 
                'Nice': 
                    trigger: "/Nice/ as always" 
                    script:  
                    - narrate format:cchat "Take it easy <&b><player.name>"