Date: 2019/06/18 13:33:38 UTC-07: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
welcome:
type: assignment
interact scripts:
- 10 Katarina
actions:
on assignment:
- trigger name:chat toggle:true radius:2
- trigger name:click toggle:true
Katarina:
type: interact
steps:
'1':
click trigger:
script:
- narrate format:cchat "Welcome, I am <npc.name>, I will get you ready for landing traveler"
- wait 2
- narrate format:cchat "To begin, you need to accept our rules, and confirm to me by saying <&9>Yes or <&9>No"
- execute as_player "/rules"
chat trigger:
'yes':
trigger: '/yes/'
script:
- narrate format:cchat "Thank you, for accepting our rules, welcome to (Server name)"
- wait 5
-execute as_op "warp airport <player.name>"
}
'no':
trigger: '/no/'
script:
- narrate format:cchat "You cant play on here without accepting the rules !"
- narrate format:cchat "Goodbye !"
- wait 5
-execute as_op "kick <player.name>
}