I want to delete every item from the ground if I run this command (/bdelete), but if the list variable has item in it, don't delete those, just everything else.
so far this is what i got, but its not working properly
so far this is what i got, but its not working properly
code_language.skript:
command /ba [<item>]:
trigger:
add arg 1 to {tlist::*}
command /bdelete:
trigger:
loop all dropped items:
loop {tlist::*}:
if items within entity loop-value-1 != loop-value-2:
delete loop-value-1