command /sil:
permission: sil.komutu.kullan
trigger:
set {_minX} to 100
set {_minY} to 60
set {_minZ} to 100
set {_maxX} to 120
set {_maxY} to 80
set {_maxZ} to 120
loop blocks in world:
if {_x} is between {_minX} and {_maxX} and {_y} is between {_minY} and {_maxY} and {_z} is between {_minZ} and {_maxZ}:
if block at {_x}, {_y}, {_z} is not air:
if block at {_x}, {_y}, {_z} was placed by a player:
delete block at {_x}, {_y}, {_z}
message "Blok silindi!"
else:
message "Bu alandaki blok oyuncular tarafından yerleştirilmediği için silinemedi!"
else:
message "Bu alanda bir blok bulunamadı!"