Please Add "Reverses List"

I wish the reverses list were in the game but it isn’t. if you’re confused about what is the reverses list does, let say, the number is 0,1,2,3,4,5,6 and you want to reverse the list and it should like this 6,5,4,3,2,1,0


I really need the Reverses list for this

You can already do this by subtracting the first index integer by the total number of items in the list. You can then use that number to select each index in reverse from a list.

Here’s a quick example:

Instead of using the direct output from your “FOR” chip, you flip it’s output by subtracting its output by the total list count.

Hope this helps!

3 Likes

Could I use this to reverse a list in my mod menu of the players who are in the instance, so the person who last joined shows up at the top instead of the bottom of the list? Would make it easier to find and select a player in the room from the list if it started at the newest joined player

1 Like

Can I use the string list for this?

Yep, it worked! Thank you!

You can use this on any kind of list! Just plug your list into both inputs of the “List Get Count” and the “List Get Element” and it should just work. :blush:

1 Like

there is a chip called “list sort”
oh i see what you mean now, litteraly flipping the list