when i try and loop all entity's in a chunk skript gives me a error.,can some one help me.
Code:
every second:
loop {ichest::*}:
loop all entitys in %chunk% at loop-value-1:
if entity is a dropped item:
set {_item} to %loop-value-2%
add 1 %{_item}% to %{loop-value-1}%'s inventory
Error:
[ERROR] Can't understand this loop: 'loop all entitys in %chunk% at loop-value-1' (ichest.sk, line 12: loop all entitys in %chunk% at loop-value-1:')
Code:
every second:
loop {ichest::*}:
loop all entitys in %chunk% at loop-value-1:
if entity is a dropped item:
set {_item} to %loop-value-2%
add 1 %{_item}% to %{loop-value-1}%'s inventory
Error:
[ERROR] Can't understand this loop: 'loop all entitys in %chunk% at loop-value-1' (ichest.sk, line 12: loop all entitys in %chunk% at loop-value-1:')