I'm trying to make a cmd to build simple maps, but I can't get it to work. There are no errors when I run this in skript 2.6.5 for 1.8.8, but it doesn't work:
Code:
command /buildmap <text>:
permission: event.host.buildmap
usage: /buildmap <4corners>
trigger:
set {_map} to arg-1
if {_map} is "4corners":
# Set the corner locations
set {_loc1} to location at 1149, 37, -1300 in world "world"
set {_loc2} to location at 1171, 37, -1324 in world "world"
loop blocks within block {_loc1} and block {_loc2}:
send block's location to player
set block to blue stained clay
send "&aMap built successfully!" to player