#(Jupiter) Is there a way to make it check on multiple worlds if there is a player?
30 messages · Page 1 of 1 (latest)
(Jupiter) Is there a way to make it check on multiple worlds if there is a player?
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
why not just use one foreach for each world lol
What exactly are you trying to do, because your example doesn't make sense
Are you trying to see if a world has players in it?
!t worldtag.players
Do you need help?
nope, was just linking a relevant tag
Please don't, it only adds to confusion.
@prisma urchin What exactly are you trying to do, because your example doesn't make sense
Are you trying to see if a world has players in it?
Uh, sorry for the delay, heavy days.
I'm trying to make a list of players that are within a list of worlds.
<list.world[A1|A2|A3].any.players>
Players who are in one of these worlds (A1,A2,A3)
!t list.parse
Returns a copy of the list with all its contents parsed through the given tag.
One should generally prefer !tag ListTag.parse_tag.
ListTag
# Narrates a list of 'ONE|TWO'
- narrate "<list[one|two].parse[to_uppercase]>
!t list.combine
Returns a list containing the contents of all sublists within this list.
ListTag
!t world.players
combine these tags, take your list of worlds, parse the players on it and combine the lists that will be created
- foreach <list[A1|A2|A3].parse[world.players].combine> as:player:
Ready thanks!