- 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
Date2016/06/20 23:51:32 UTC-07: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
42
43
44
45
46
47
48
4800
npctest:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        - trigger name:proximity state:true radius:3
    interact scripts:
    - 1 npctestinteract
 
npctestinteract:
    type: interact
    steps:
    1:
        proximity trigger:
            entry:
                script:
                - random {
                    - narrate "<&a>Leib<&co> <&b>Hi <player.name>."
                    - narrate "<&a>Leib<&co> <&b>Hello <player.name>."
                    - narrate "<&a>Leib<&co> <&b>Hey there <player.name>.
                    - narrate "<&a>Leib<&co> <&b>Hola <player.name>."
                    - narrate "<&a>Leib<&co> <&b>You got the pointless message <player.name>"
                    } 
        click trigger:
            script:
            - narrate "<&a>Leib<&co> <&b>Say "test" if you want to listen to a tutorial."
        chat trigger:
            1:
                trigger: /test/
                script:
                - narrate "<&a>Leib<&co> <&b>Click me again to start the tutorial."
                - wait 15t
                - narrate "<&a>Leib<&co> <&b>Say "exit" anytime you want to leave the tutorial"
                - zap 2
    2:
        click trigger:
            script:
            - if <p@player.is_flying> matches true {
                - execute as_op fly
                } 
            - execute as_op "speed walk 0 <player.name>"
        chat trigger:
            1:
                trigger: /exit/
                script:
                - execute as_op "speed walk 1 <player.name>"
                - narrate "<&a>Leib<&co> <&b>Hope to see you around <player.name>."



RawRaw



Pastes made: 65641