Looping all bungeecord 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 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.

CKR367

Member
Feb 1, 2017
64
2
0
I am attempting to kick a player if the player is connected to any of my servers on the bungee network, but it isn't working... I have tried messaging @LimeGlass, but no response, he is probably busy :emoji_stuck_out_tongue:. I think I may just have the syntax wrong....

Skript Ver: Bensku dev28c
Skellett: Latest
SkellettProxy: Latest

code_language.skript:
            loop all bungeecord players:
                if loop-player is "%argument 1%":
                    kick loop-player due to "blah blah blah"

Error: "There's no loop that matches 'loop-player'"
 
Try loop-value instead of loop-player. Also you don't need to do "%argument 1%" you can just put argument 1
 
Status
Not open for further replies.