Paste #12923: Untitled Paste

Date: 2015/01/14 08:30:01 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


spawn:
    type: world
    events:
    on player first login:
    - define locations li@l@x,y,z,world|l@x,y,z,world|l@x,y,z,world
    - foreach <def[locations]> {
      - if <def[value].as_location.find_entities[player].within[50].size> < 1 {
        - teleport <player> <def[value].as_location>
        - foreach stop
        - queue clear
        }
    - teleport <player> <def[locations].random.as_location>