Paste #45090: total noob requires assistance: the script only runs once, and then when I click the npc again, doen

Date: 2017/10/19 15:56:19 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


ChickenQuest1:
    type: assignment
    interact scripts:
    - 10 ChickenMain

ChickenMain:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello nibba i need some help"
                - wait 1
                - chat "Hey, <player.name>, bring me a chicken"
                - wait 1
                - chat "Accept? Yes/no"
            chat trigger:
                1:
                    trigger: /yes/, I can bring you a chicken
                    script:
                    - Chat "Great. "
                    - wait 1
                    - Chat "Bring me one back on a lead please"
                2:
                    trigger: /no/, kys
                    script:
                    - chat "okay then..."
                    - wait 1
                    - chat "come back when you're in a better mood"