Date: 2017/01/06 15:27:24 UTC-08:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
BaysRiver-Preacher:
type: assignment
actions:
on assignment:
- trigger name:click state:true
- trigger name:chat state:true
on enter proximity:
- random 4
- chat "&lHello"
- chat "&lWelcome"
- chat "&lHi there"
- chat "&lsorry do I know you?"
interact scripts:
- 1 PreacherBaysRiver
CFormat:
type: format
format: "<&9><npc.name><&8> to you <&co> <text>"
PreacherBaysRiver:
type: interact
steps:
start*:
click trigger:
script:
- random 3
- inject BRP-areYouLookingForWork
- inject BRP-doYouWishToLearnMoreAboutNavi
- inject BRP-canIHelpYou
2:
chat trigger:
1:
trigger: /Yes you can help me/
script:
- narrate "Example2"
2:
trigger: /No you can't help me/
script:
- narrate "Example2"
3:
chat trigger:
1:
trigger: /Yes you can help me/
script:
- narrate "Example2"
2:
trigger: /No you can't help me/
script:
- narrate "Example2"
BRP-areYouLookingForWork:
type: task
script:
- narrate "<&a>Are you looking for work?"
- narrate "<proc[msgChat].context[<&8><&lb><&6><&l>Select<&8><&rb> Are you looking for work? |hello3|<&8>{<&6>Click to Select<&8>}]>"
- zap 2
BRP-doYouWishToLarnMoreAboutNavi:
type: task
script:
- narrate "<proc[msgChat].context[<&8><&lb><&6><&l>Select<&8><&rb> Do you wish to learn more about Navi |hello3|<&8>{<&6>Click to Select<&8>}]>"
- zap 2
BRP-canIHelpYou:
type: task
script:
- narrate "<&a>Can I help you?"
- narrate "<proc[msgChat].context[<&8><&lb><&6><&l>Select<&8><&rb> |hello3|<&8>{<&6>Click to Select<&8>}]>"