- 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


TitleUntitled Paste
TypeDenizen Script
Date2018/11/16 10:46:31 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
3500
pvpnpc: 
    type: assignment 
    actions: 
        on assigment: 
        - trigger name:click state:true 
        - trigger name:chat state:true 
    interact scripts: 
        - 10 pvpnpc    


pvpnpc:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Ready to Battle?"
                - narrate "[Yes] or [No]"
                
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - random {
                        - teleport <player> l@167,77,-544,survival
                        - teleport <player> l@197,77,-570,survival
                        - teleport <player> l@162,77,-637,survival
                    }
                    - queue clear
                2:
                    trigger: /No/
                    script:
                    - chat "Do not bother me then"
                    - queue clear



RawRaw



Pastes made: 53894