Date: 2016/09/10 12:11:47 UTC-07:00
Type: Denizen Script
The_Cool_NPC:
type: assignment
actions:
on assignment:
- trigger name:click state:true
interact scripts:
- 1 The_Cool_NPC_Interact
The_Cool_NPC_Interact:
type:interact
steps:
1:
click trigger:
script:
- chat "Hello there How may I help?"
- zap 2
chat trigger:
1:
trigger: /Hello/
script:
- chat "Hello there."
2:
trigger: /How much is a room?/
script:
- chat "First floor is £50, second is £100 and so on. Top floor is £1000 though. The payment is weekly."
2:
click trigger:
script:
- chat "Anything else?"
- zap 1