Paste #47787: Fixed?

Date: 2018/06/09 12:24:26 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10


Spring_Closest_Point:
    type: task
    debug: false
    locations:
    - l@8.5,64.0,101000.5,PvP_World
    - l@0.5,64.0,100992.5,PvP_World
    - l@0.5,64.0,101008.5,PvP_World
    - l@-7.5,64.0,101000.5,PvP_World
    script:
        - teleport <player> <s@Spring_Closest_Point.yaml_key[locations].sort_by_number[distance[<player.location]].get[1]>