~ mcmonkey's simpler pastebin ~ Inspired by Hastebin ~ home page ~ Denizen help ~
click to use the normal pastebin instead ~ Click to make your own paste ~ click to duplicate and edit this paste


Title:
Type:
Date:
By:
Raw:
Other:
...
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

Untitled Paste
Denizen Script
2020/01/24 19:09:07 UTC-08:00
Guest
Click here to view this paste as a raw text file | Or download the script


santa:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
    interact scripts:
    - 1 santa_interact


santa_interact:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hey do you want buy a Teleport?"
                - narrate "yes"
            chat trigger:
                1:
                    trigger: /yes/
                    script:
                    - chat "Ok than pay me 50$"
                    - narrate "<yellow>pay 50"
                    - zap 2
        2:
            chat trigger:
                1:
                    trigger: /pay 50/
                    script:
                    - if <player.radius> < 3:
                        - if <player.money> > 50:
                            - chat "Thank you for your Money."
                            - teleport <player> <location[-545,70,494,world]>
                            - money take quantity:50 from:<[player]>
                            - zap 1
                        - else:
                            - chat "Sorry but you dont have enough money."
                            - zap 1
                    - else:
                        - zap 1