Paste #45430: Untitled Paste

Date: 2017/11/10 11:16:53 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


test:
    type: assignment
    actions:
        on assignment:

        - trigger name:proximity state:true radius:5

        interact scripts:
        - 1 testtwo
testtwo:
    type: interact
    Steps:
        1:
            Proximity Trigger:
                Entry:
                    Script:
                        - if !<player.flag[test]> {
                        - chat "Hi, right click me to express your interest lul"
                        - flag player proxim:1
                        } else {
                        - chat "Welcome back <player.name>!"
                        }
                Exit:
                    script:
                    - chat "you left"

                Move:
                    script: