Paste #22908: Untitled Paste

Date: 2015/11/21 14:53:25 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


HelpDesk:
    type: assignment
    interact scripts:
    - 10 HelpDesk1

HelpDesk1:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello traveler"
                - wait 1
                - chat "My name is <npc.name>,would you like some help?"
            chat trigger: 
                1:
                    trigger: /Yes/, I would like some help.
                    script:
                    - chat "Oh good! Would you like info, directions, or other?"
                    - zap step:2
                2:
                    trigger: /No/, I do not need help.
                    script:
                    -chat "Oh, well have a good day then!"
        2:
            chat tigger:
                1:
                    trigger: /Info/, please.
                    script:
                    - chat "Info on our town can be found behind you or in the town handbook!"
                2:
                    trigger: /Directions/, please.
                    script:
                    - chat "All town structures are easily located by paths around town. Our side quest is slightly North East of town!"
                3:
                    trigger: /Other/, please.
                    script:
                    - chat "Any other information can be answered by an Admin or you can mail the major with the command /mail send ThunderBear97!"