Paste #50011: Untitled Paste

Date: 2018/09/24 16:07:55 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


AI:
  type: assignment
  interact scripts:
  - 77 Bubbleguminarug

Bubbleguminarug:
  type: interact
  steps:
    'Greetings':
      click trigger:
        script:
        - random 2
        - chat "Hello"
        - chat "How are you today?"
        - narrate '<npc.name> is waiting for you to type back to him.'
      chat trigger: 
        'hello': 
          trigger: '/hello/' 
          script:  
          - chat 'How are you today?'
        'good': 
          trigger: '/good/' 
          script: 
          - random 2:
            - repeat 1:
              - chat 'Great! I am having a good day too'
              - zap 'steps:doinggood'
            - repeat 1:
              - chat 'That is good. You are having a better day than I am.'
    'doinggood':
      chat trigger:
        'good':
          trigger: '/good/'
          script:
          - chat 'Yes, it is good we are both doing good.'