compare player

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

Tillana

Member
Apr 21, 2026
1
0
1
on rightclick on entity:
if entity's name is "&l2 VS 2":
if player is {ready::*} set:
add player to {match::*}
message "&ewait: %size of {match::*}%" to player

if size of {match::*} >= 2:
message "&aplayer: %size of {match::*}%" to all players

There's an error in line three

compare a player with '{ready::*} set'
Line: if player is {ready::*} set:
 
on rightclick on entity:
if entity's name is "&l2 VS 2":
if player is {ready::*} set:
add player to {match::*}
message "&ewait: %size of {match::*}%" to player

if size of {match::*} >= 2:
message "&aplayer: %size of {match::*}%" to all players

There's an error in line three

compare a player with '{ready::*} set'
Line: if player is {ready::*} set:
if player is {ready::*} set should be if {ready::*} contains player