Paste #594: for aXSSor

Date: 2013/12/17 23:14:50 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


"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'