Solved loop

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Ventura11

Member
Feb 6, 2019
14
0
1
21
Code:
command /add:
    trigger:
        loop {game::*}:
            add "text1" to {game::*}
            add "text2" to {game::*}
            add "text3" to {game::*}

command /list:
    trigger:
        loop {game::*}:
            send "%loop-value 1%"
            send "%loop-value 2%"
            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?
[doublepost=1602364534,1602363312][/doublepost]The problem is solved.
%1nd element of {game::*}%
 
Status
Not open for further replies.