Paste #38326: Untitled Paste

Date: 2016/12/14 16:53:12 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


bob_the_npc:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        on click:
        - narrate: "<green>Bob<&co> hi
     interact scripts:
    - 1 bob_the_npc_interact

bob_the_npc_interact:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello world"
            chat trigger:
                1:
                    trigger: /Hello/
                    script:
                    - chat "Hello there"
                2:
                    trigger: /Goodbye/
                    script:
                    - chat "Cy@"