1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved How to select a specific number element of a list variable, but the specific number is a variable

Discussion in 'Skript' started by Valdemar22, Oct 10, 2022.

Thread Status:
Not open for further replies.
  1. Valdemar22

    Valdemar22 Member

    Joined:
    May 22, 2019
    Messages:
    1
    Likes Received:
    0
    This is my skript:

    Code (Text):
    1. set {_medlem} to loop-number element of {bande.members.%{bande.name.%uuid of player%}%::*}
    2.                 set {_l} to {_medlem} parsed as a player
    upload_2022-10-10_19-33-10.png
     
  2. Best Answer:
    Post #2 by Pierrelasse, Oct 13, 2022
  3. Pierrelasse

    Pierrelasse Active Member

    Joined:
    Apr 20, 2022
    Messages:
    116
    Likes Received:
    4
    1. Code (Text):
      1.  
      2. set {_list::*} to "a" and "b", "c", "d"
      3. loop {_list::*}:
      4.   # loop-value = a, b, c, ...
      5.   # loop-index = 1, 2, 3, ...
      6.  
     
Thread Status:
Not open for further replies.

Share This Page

Loading...