Paste #43773: Edit of P#43772 - Untitled Paste

Date: 2017/08/24 00:14:07 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Underground:
    type: assignment
    actions:
      on assignment:
      - trigger name:proximity state:true
    interact scripts:
    - 10 Underground_Interact

Underground_Interact:
    type: interact
    steps:
        1:
            proximity trigger:
                entry:
                    script:
                    - chat "<green>Jerald --> You: <red>Hello sir, are you here for a book? If you are please type <green>Yes" targets:<player.name>
                exit:
                    script:
                    - chat "<green>Jerald --> You: <red>Thank you for your input!" targets:<player.name>
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - chat "<green>Jerald --> You: <red>Perfect! Please come up and right click me for a book!" targets:<player.name>
                    - chat "<green>Jerald --> You: <red>Please write all suggestions you have and toss it into the well!" targets:<player.name>