Solved Skript BUG

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

    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.

zide

Member
Aug 23, 2017
42
1
0
server:emoji_stuck_out_tongue:aper 1.12.2
skript:2.3.7
code:
Code:
command /test [<text>]:
    trigger:
        
        add 1 to {_list::*}
    
        loop 5 times:
            
            loop {_list::*}:
            
                broadcast "  lololo "
                stop loop
                
                
            broadcast "endloop"
output should be:
Code:
lololo
endloop
lololo
endloop
lololo
endloop
lololo
endloop
lololo
endloop
but the out put is:
Code:
lololo
endloop
endloop
lololo
endloop
endloop
lololo
endloop
the cause is STOP LOOP.There is a BUG.
i can only loop {_list::*} once successfully for every 2 times i loop.
I am not sure where should i submit the bug,so i post it here.
Sorry for my bad english.
 
server:emoji_stuck_out_tongue:aper 1.12.2
skript:2.3.7
code:
Code:
command /test [<text>]:
    trigger:
     
        add 1 to {_list::*}
 
        loop 5 times:
         
            loop {_list::*}:
         
                broadcast "  lololo "
                stop loop
             
             
            broadcast "endloop"
output should be:
Code:
lololo
endloop
lololo
endloop
lololo
endloop
lololo
endloop
lololo
endloop
but the out put is:
Code:
lololo
endloop
endloop
lololo
endloop
endloop
lololo
endloop
the cause is STOP LOOP.There is a BUG.
i can only loop {_list::*} once successfully for every 2 times i loop.
I am not sure where should i submit the bug,so i post it here.
Sorry for my bad english.
This is indeed a bug, but it's already been reported and fixed: reported in issue 1380, fixed in PR 2225, released with 2.4-beta3 (although you should use beta-5, the latest beta release)
 
Status
Not open for further replies.