Paste #1632: Untitled Paste

Date: 2014/02/01 21:09:51 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


KillQuest:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hey <player.name>!"
                - wait 1
                - chat "Thank goodness you're here."
                - wait 1
                - chat "Bloated Zombies are starting to leave TheVillage"
                - wait 1
                - chat "Could you help thin them out?"
                - zap step:2
        2:
            chat trigger:
                1:
                    trigger: /Regex:Yes|Yeah|Sure|Okay/
                    script:
                    - chat "Great, Go kill 3 Bloated Zombies at TheVillage!"
                    - wait 1
                    - chat "Hurry before they become too hard to control!"
                    - zap step:3
                    - listen kill type:npc target:"Bloated Zombie" qty:1 region:TheVillage script:ZombieQuestCheck
                    - flag player ZombieCount:0
                2:
                    trigger: /No/
                    script:
                    - chat "Oh, come back when you have some time."
                    - zap step:1