Date: 2016/03/27 16:28:13 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
Recruit:
type: assignment
actions:
on assignment:
- trigger name:click state:true
on click:
- run ConquestTransport
interact scripts:
- 1 Recruit_Interact
Recruit_Interact:
type: interact
steps:
1:
click trigger:
script:
- narrate "<&c><&l>[Conquest] <&6>Would you like to teleport to the Conquest Island?|<&a>Yes <&6>or <&4>No?"
chat trigger:
1:
trigger: /Yes/
script:
- run ConquestTransport
2:
trigger: /No/
script:
- determine cancelled
ConquestTransport:
type: task
script:
- if <player.has_flag[ConquestTransport]> == true {
- narrate "<&c><&l>[Conquest] <&6>You're already about to be teleported to the Capture Point!"
}
else {
- flag player ConquestTransport duration:130s
- narrate "<&c><&l>[Conquest] <&6>You will be teleported to the Conquest Point in 2 minutes."
- wait 30s
- narrate "<&c><&l>[Conquest] <&6>You will be teleported to the Conquest Point in 1 minute and 30 seconds."
- wait 30s
- narrate "<&c><&l>[Conquest] <&6>You will be teleported to the Conquest Point in 1 minute."
- wait 30s
- narrate "<&c><&l>[Conquest] <&6>You will be teleported to the Conquest Point in 30 seconds."
- wait 15s
- narrate "<&c><&l>[Conquest] <&6>You will be teleported to the Conquest Point in 15 seconds."
- wait 10s
- narrate "<&c><&l>[Conquest] <&6>You will be teleported to the Conquest Point in 5 seconds."
- wait 5s
- teleport <player.name> <l@210,64,383,CPM>
- narrate "<&c><&l>[Conquest] <&6>You've been teleported!"
}