#Testfor Tag
1 messages · Page 1 of 1 (latest)
Its easy with commands
const query = {location:{x:0,y:0,z:0},maxDistance:20,tags:['Froze'],excludeTags:['Tagged']}
dim.getPlayers(query).forEach(player=>{
world.sendMessage(player.name)
})
ty
quick question would i put this in a interval or would it work on its own
like
system.runInterval(() => {
const query = {location:{x:0,y:0,z:0},maxDistance:20,tags:['Froze'],excludeTags:['Tagged']}
dim.getPlayers(query).forEach(player=>{
world.sendMessage(player.name)
})})```
I thought you were good at scripting?