Line 8:
I need an expression similar to that.
I need an expression similar to that.
Code:
command /eventstart:
permission: "event.admin"
trigger:
loop players in radius 200 of {eventpos}:
set {target} to loop-player
if {target} is set:
set {eventpos} to location at (0, 4, 0) in world "world"
message "&9%closest player to {eventpos}%"
if {target} is not set:
message "&9No Players Within 200 blocks."