Paste #15756: Untitled Paste

Date: 2015/05/11 11:28:12 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


lol:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        on click:
        - chat "Hi"
    interact scripts:
    - 1 lolinteract
lolinteract:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - random
                {
                    - chat "1"
                    - chat "2"
                    - chat "3"
                }
                - zap 2
            chat trigger:
                1:
                    trigger: /Hi/
                    script:
                    - chat "Hello there"
                2:
                    trigger: /How are you/
                    script:
                    - chat "Im, fine thank you"
                    - wait 2
                    - chat "I hope you are fine too"
                3:
                    trigger: /Thanks/
                    script:
                    - chat "You're welcome"
        2:
            click trigger:
                script:
                - chat "Wow step 2"
                - zap 1