Paste #67951: Untitled Paste

Date: 2020/04/22 21:38:43 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


gibsoneavesdrop:
    type: world
    events:
        on player enters churchbasement:
        - if !<player.has_flag[undeadchapter3]>:
            - stop
        - flag player eavesdropchurch
        - wait 1s
        - narrate format:dia "You hear voices through a hole in the wall."
        - wait 2s
        - narrate format:dia "It sounds like Mason, the Church Elder."
        - wait 3s
        - narrate format:dia "Type 'eavesdrop' if you want to eavesdrop on the conversation."
        on player exits churchbasement:
        - if !<player.has_flag[undeadchapter3]>:
            - stop
        - flag player eavesdropchurch:!
        on player chats:
        - if !<player.has_flag[undeadchapter3]>:
            - stop
        - if !<player.has_flag[eavesdropchurch]>
            - stop
        - if !<context.message.contains[eavesdrop]>:
            - stop
        - wait 3s
        - narrate pass
        - determine cancelled