Hi,
I'm coding a thing that loops all armor stands in radius of a block. What I want to do is, if it finds indeed an armor stand, it sends a message saying "Test". If not, it sends "lol".
The thing is, when it's supposed to say "lol", in other words, when no armor stand is found, simply nothing happens. No errors detected on reload. I feel like I've done this before, 'cause it's not the most complicated of the tasks, I just don't remember how I did it.
I'm coding a thing that loops all armor stands in radius of a block. What I want to do is, if it finds indeed an armor stand, it sends a message saying "Test". If not, it sends "lol".
The thing is, when it's supposed to say "lol", in other words, when no armor stand is found, simply nothing happens. No errors detected on reload. I feel like I've done this before, 'cause it's not the most complicated of the tasks, I just don't remember how I did it.
code_language.skript:
loop all armor stands in radius 2 of {_block}:
if loop-entity is set:
send "{@prefix} &cTest"
else:
send "lol" to player
Last edited: