Date: 2016/11/21 20:19:25 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
# To assign to an NPC, literally type:
# /npc assign --set "CH_santa_greeter_assign"
CH_santa_greeter_assign:
type: assignment
actions:
on assignment:
- trigger name:proximity state:true
- trigger name:click state:true
- lookclose
on move proximity:
- if <player.has_flag[mynpc_cooldown]> queue clear
- random {
- narrate format:cchat "<&b><player.name><&f>! Good list or bad this year?"
- narrate format:cchat "Now where did I put my list?"
- narrate format:cchat "<&b>Momma Claus!!<&b>"
}
- flag player mynpc_cooldown delay:5s
interact scripts:
- 10 CH_santa_greeter_interact
CH_santa_greeter_interact:
type: interact
steps:
1:
click trigger:
script:
- narrate format:cchat "Welcome to <&c>Santa's Surprise, <&b><player.name>!"
- wait 1
- narrate format:cchat "Were you Naughty or Nice this year? Type <&b>Naughty <&f>or <&b>Nice"
chat trigger:
'Naughty':
trigger: "/Naughty/ Evil Grin"
script:
- narrate format:cchat "<&c>ChromaHills <&f>uses an advanced <&6>Points System <&f>for kits and things, you <&6>can register <&f>at <&2>www.trappedchest.com <&f>to use the Points System."
- wait 2
- narrate format:cchat "I gave you a book that tells you about the server too"
- wait 2
- narrate format:cchat "You can play Survival with no worry even without registering!!"
- wait 2
- narrate format:cchat "Use the command <&b>/menu <&f>to access the <&6>Game Menu <&f>at any time."
'Nice':
trigger: "/Nice/ as always"
script:
- narrate format:cchat "Take it easy <&b><player.name>"