Paste #22171: Untitled Paste

Date: 2015/11/02 18:55:01 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


npc_basic:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        on click:
        - narrate "<green>Bob<&co> Hi there"
    interact scripts:
    - 1 npc_basic_interact

npc_basic_interact:
    type interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello"
            chat trigger:
                1:
                    trigger: /Hello/
                    script:
                    - chat "Hi There"
                2:
                    trigger: /goodbye/
                    script:
                    - chat "Sod you then!