#(LG_Legacy) Insert element into every listtag entry.

21 messages · Page 1 of 1 (latest)

pure dragon
#

Wanting to make a list of player names in a listtag have the prefix of player: in them.
This is going to be used for one of my command tab completions, so that it can recognize it as an optional argument in the command.

So I need to somehow get <server.online_players.parse[name]> to have player: infront of every entry. I could forloop the entire entry of players and build a new list htis way, but I'd much rather have things done in one line and if there already exists a tag relevant for this in some regard.

prisma cragBOT
#

(LG_Legacy) Insert element into every listtag entry.

prisma cragBOT
#

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.

stiff atlas
#

parse_tag

pure dragon
#

I'm not sure I-

#

Oh wait.

stiff atlas
#

parse_tag[player:<[parse_value]>]

uneven shardBOT
pure dragon
#

I'll be damned.

#

I'm not sure why I didn't think that'd work.

stiff atlas
#

lol

pure dragon
#

I'll get back to you on this and see if anything detonates. Shouldn't, but you never know/.

stiff atlas
#

probably

#

!t co

frigid pawnBOT
# stiff atlas !t co
Cannot Specify Searched Tag

Multiple possible tags: <ElementTag.cos>, <&co>, <SkillAPIClassTag.icon>, <DiscordChannelTag.id>, <DiscordCommandTag.id>, <DiscordGroupTag.id>, <DiscordInteractionTag.id>, <DiscordMessageTag.id>, <DiscordReactionTag.id>, <DiscordRoleTag.id>, <DiscordUserTag.id>, <ElementTag.acos>, <ImageTag.copy>, <DiscordButtonTag.map>, <DiscordEmbedTag.map>, <DiscordGroupTag.role[<name>]>, <DiscordMessageTag.url>, <DiscordReactionTag.count>, <DiscordRoleTag.color>, <DiscordSelectionTag.map>, ...

stiff atlas
#

!t &co

frigid pawnBOT
stiff atlas
#

i dont remember when it does / does not like using raw colons

pure dragon
#

Fair point.

#

Working as intended.