Date: 2013/12/17 23:14:50 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
"4":
chat trigger:
"1":
trigger: "/Y/es."
script:
- chat "&fOkay, I will take Sparks Key"
- wait 2
- if "!<player.inventory.contains.display[Sparks Key].qty[5]>" {
- chat "You need more keys"
- queue clear
}
- take "bydisplay:Sparks Key" qty:5
- chat "&fDont move!"
- wait 2
- playsound <player.location> portal
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- cast blindness target:{player} duration:19s power:3
- cast confusion target:{player} duration:19s power:4
- narrate "<white>Teleporting...<bold>5<underline>s
- playsound <player.location> portal
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- wait 1
- narrate "<white>Teleporting...<bold>4<underline>s
- playsound <player.location> portal
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- wait 1
- narrate "<white>Teleporting...<bold>3<underline>s
- playsound <player.location> portal
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- wait 1
- narrate "<white>Teleporting...<bold>2<underline>s
- playsound <player.location> portal
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- wait 1
- narrate "<white>Teleporting...<bold>1<underline>s
- playsound <player.location> portal
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- wait 1
- execute asserver 'mv tp <player.name> Survival'
- playeffect <player.location.add[0,-1,0]> effect:portal qty:1000
- lookclose toggle:false
- zap 'step:1'