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 loop

Discussion in 'Skript' started by Ventura11, Oct 10, 2020.

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

    Ventura11 Member

    Joined:
    Feb 6, 2019
    Messages:
    14
    Likes Received:
    0
    Code (Text):
    1. command /add:
    2.     trigger:
    3.         loop {game::*}:
    4.             add "text1" to {game::*}
    5.             add "text2" to {game::*}
    6.             add "text3" to {game::*}
    7.  
    8. command /list:
    9.     trigger:
    10.         loop {game::*}:
    11.             send "%loop-value 1%"
    12.             send "%loop-value 2%"
    13.             send "%loop-value 3%"
    There's no loop that matches 'loop-value 1' (Script from skUnity Parser.sk, line 11: send "%loop-value 1%"')
    [22:48:35] [Server thread/ERROR]: There's no loop that matches 'loop-value 2' (Script from skUnity Parser.sk, line 12: send "%loop-value 2%"')
    [22:48:35] [Server thread/ERROR]: There's no loop that matches 'loop-value 3' (Script from skUnity Parser.sk, line 13: send "%loop-value 3%"')
    Can anyone help me?
    --- Double Post Merged, Oct 10, 2020, Original Post Date: Oct 10, 2020 ---
    The problem is solved.
    %1nd element of {game::*}%
     
Thread Status:
Not open for further replies.

Share This Page

Loading...