Solved Loop Glitch

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

Farid

Active Member
Feb 5, 2017
179
11
18
23
06cc16b8d6af822c78d84a138c08a096.png


Turns into >>
2 players in a party
1be3a4e8522f99617cc60200d069160e.png


3 players in a party
e18cffb3f23582191639cc9607df5e65.png


I want this to say it once, I added stoop loop at the end, and that only works for one player, the other player will see their name twice.
 
Last edited:
06cc16b8d6af822c78d84a138c08a096.png


Turns into >>
2 players in a party
1be3a4e8522f99617cc60200d069160e.png


3 players in a party
e18cffb3f23582191639cc9607df5e65.png


I want this to say it once, I added stoop loop at the end, and that only works for one player, the other player will see their name twice.
This isn't a glitch, this is you not coding it correctly. Remove the 5 ticks, looping players won't lag your server unless you do it too much, and check if {_list::*} contains the loop-player. the reason it's sending 3 times, is because the message is inside the loop, every time a new loop happens a new message is sent. Put the message part like this:
code_language.skript:
loop all players:
    //
send "!" to player
Also please next time, post the actual code in the code format, so people can help you.
 
Status
Not open for further replies.