Skipping players in loop all players

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

SirMaggus

Member
Aug 16, 2023
2
0
1
23
Hey there,
i am making a skript for a minigame right now using skQuery and skRayFall and i was wondering if it's possible to skip a player in a loop all players part. Like that:
code_language.skript:
command /test:
    trigger:
        loop all players:
            if loop-player is op:
                broadcast "%loop-player% is op!"
                end loop for loop-player
            else:
                broadcast "%loop-player% is not op!"
I'm on 1.12.2 with skript version 2.2-dev36 because of mods.