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.

loop list

Discussion in 'Skript' started by dansktopgaming, Mar 9, 2019.

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

    Joined:
    Feb 15, 2017
    Messages:
    4
    Likes Received:
    0
    command /contactrequest:
    trigger:
    open chest with 5 rows named "Your contacts requests" to player
    set {_n} to 0
    loop {%uuid of player%.contactrequesttt::*}:
    format slot (loop-index parsed as integer -1) of player with skull of ("loop-player" parsed as offline player) named "%loop-value%" with lore "t" to close then run [execute player command "/broadcast %loop-value%"]

    if there is more then 2 in {%uuid of player%.contactrequesttt::*} it takes the last player that was add to {%uuid of player%.contactrequesttt::*} allways
     
  2. 07L

    07L Member

    Joined:
    Feb 23, 2019
    Messages:
    43
    Likes Received:
    0
    Can you use the code block to format your code to make it easier to read
     
Thread Status:
Not open for further replies.

Share This Page

Loading...