Paste #45177: Untitled Paste

Date: 2017/10/24 12:52:00 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


BankTellerScript:
  type: assignment
  debug: true
  actions:
    on assignment:
    - trigger name:proximity state:true radius:2
    - trigger name:chat state:true radius:3
  interact scripts:
  - 1 BankTellerInteract

BankTellerInteract:
  type: interact
  steps:
    1:
      proximity trigger:
        entry:
          script:
          - chat "<yellow>How are you today?"
          - wait 1.5s
          - chat "<yellow>Would you like to <gold>deposit <yellow>or <gold>withdraw <yellow>money?"
        exit:
          script:
          - chat "<yellow>Y'all have a good day now."
          - lookclose "BankTeller" state:false range:3