Hello everyone! I was searching the docs, but couldn't find something, so I was wondering if any of you could help me out. Basically, I want to know if it is possible to loop citizens by names or IDs in the radius of a player. Here is my example (Not working, just an idea of what I mean):
If anyone has a solution to this, that would be awesome. Thanks, and have a great day!
code_language.skript:
on any movement:
if {test.%player%} is set:
loop all citizens in radius 5 of player: # Not working
if loop-citizen is not "Test": # Not working
delete {test.%player%}
message "Bye" to player
If anyone has a solution to this, that would be awesome. Thanks, and have a great day!