Date: 2014/12/28 16:42:23 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
tourguide:
type: assignment
interact scripts:
- 1 fulltour
fulltour:
type: interact
steps:
1:
click trigger:
script:
- chat "Hello there <player.name>, do you need help finding anything?"
chat trigger:
1:
trigger: /Yes/, actually, what are my options?
script:
- chat "You can go to the Blacksmith, Church, Stables, Alchemist, Library, Inn, or the Food Hall."
2:
trigger: /No/, not at this time.
script:
- random 4
- chat "Alright!"
- chat "Take Care!"
- chat "Be seeing you!"
- chat "Go forth, for victory!"
3:
trigger: I am looking to find the /Blacksmith/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'blacksmith' or 'no' to cancel."
- zap step:2
4:
trigger: I am looking to find the /Church/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'Church' or 'no' to cancel."
- zap step:2
5:
trigger: I am looking to find the /regex:(?i)stable(s)?/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'Stables' or 'no' to cancel."
- zap step:2
6:
trigger: I am looking to find the /Alchemist/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'Alchemist' or 'no' to cancel."
- zap step:2
7:
trigger: I am looking to find the /Library/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'Library' or 'no' to cancel."
- zap step:2
8:
trigger: I am looking to find the /Inn/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'Inn' or 'no' to cancel."
- zap step:2
9:
trigger: I am looking to find the /Food Hall/.
script:
- chat "Excellent, I will Teleport you now, please confirm by saying 'Food Hall' or 'no' to cancel."
- zap step:2
hello:
trigger: /regex:(?i)hello|hey|hi/
script:
- random 3
- chat "Hey there!"
- chat "Hello!"
- chat "Hi, <player.name>!"
bye:
trigger: /regex:(?i)bye|see ya|goodbye|good bye|later/
script:
- random 4
- chat "See ya!"
- chat "Take Care!"
- chat "Be seeing you!"
- chat "Go forth, for victory!"
unknown:
trigger: /regex:.+/
script:
- chat "I'm sorry, I don't understand!"
2:
click trigger:
script:
- chat "Hello there <player.name>, do you need help finding anything?"
- zap step:1
chat trigger:
blacksmith:
trigger: I confirm /Blacksmith/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
church:
trigger: I confirm /Church/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
stables:
trigger: I confirm /Stables/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
alchemist:
trigger: I confirm /Alchemist/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
library:
trigger: I confirm /Library/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
inn:
trigger: I confirm /Inn/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
foodhall:
trigger: I confirm /Food Hall/!
script:
- chat "Summoning portal, this will only take a second."
- wait 1
- animate <npc> animation:ARM_SWING
- wait 1
- execute as_npc "tp <player.name> X Y Z"
- zap step:1
cancel:
trigger: /No/ actaully, I change my mind.
script:
- chat "Not a problem, please let me know if I can be of any assistance!"
- zap step:1
hello:
trigger: /regex:(?i)hello|hey|hi/
script:
- random 3
- chat "Hey there!"
- chat "Hello!"
- chat "Hi, <player.name>!"
- zap step:1
bye:
trigger: /regex:(?i)bye|see ya|goodbye|good bye|later/
script:
- random 4
- chat "See ya!"
- chat "Take Care!"
- chat "Be seeing you!"
- chat "Go forth, for victory!"
- zap step:1
unknown:
trigger: /regex:.+/
script:
- chat "I'm sorry, I don't understand!"