- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


Titlequest
TypeDenizen Script
Date2017/11/20 10:30:11 UTC-08:00
ByGuest
Other
Paste
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
4100
TicketQuest:
    type: assignment
    interact scripts:
    - 10 TicketStart

TicketStart:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello there <player.name>..."
                - wait 1
                - chat "Would you like to show me the ticket, please?"
                - wait 2 
                - chat "#Hint# Type Yes/No in the chat."
            chat trigger: 
                1:
                    trigger: /Yes/, here you go as the Conductor reaches for the ticket in <player.name>'s hand.
                    script:
                    - if <player.inventory.contains[PAPER].qty[1]> {
                      - take paper qty:1
                      - wait 3
                      - chat "Welcome to the House Of Tore"
                      - wait 1
                      - teleport <player> <l@30,28,-14,Spawn>
                      - zap step:1
                      } else {
                      - chat "Seems like you dont have the ticket, come back when you've got it!"
                      - wait 1
                      - narrate "<npc.name> frowns at you."
                      - zap step:1
                      }
                2:
                    trigger: /No/, I will not give you the ticket.
                    script:
                    - chat "Oh darn, you will not get passed me without a ticket."
                    - wait 1
                    - chat "Come back when you´ve got a ticket..."
                    - zap step:1



RawRaw



Pastes made: 74477