Date: 2015/12/07 18:04:09 UTC-08:00
Type: Denizen Script
bob_the_npc:
type: assignment
actions:
on assignment:
- trigger name:click state:true
on click:
- narrate "<green>Bob<&co> hi tristan"
interact scripts:
- 1 bob_the_npc_interact
bob_the_npc_interact:
type: interact
steps:
1:
click trigger:
script:
- chat "Hello world"
- zap 2
chat trigger:
1:
trigger: /Hello/
script:
- chat "Hello there"
2:
trigger: /goodbye/
script:
- chat "Cya"
2:
click trigger:
script:
- chat "W0w step 2"
- zap 1