Variables for a chest GUI

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

TimmoPlays

New Member
Apr 5, 2018
9
0
0
I'm working on a chest GUI that allows players to join my minigame, and I'm looking for a way to show if the game needs players (in queue) or if it has already started. Is there a way to display the text "In queue" if there are less than two players in a variable called {1v1.players::*}, and display the text "In game" if there are 2 players in the variable?

Thanks :emoji_grinning:
 
You would need the following addons
-----------------------
- Placeholderapi
- Umbaska
- Skellet
- Skript
-----------------------

Then here is the code:

code_language.skript:
set {_quene} to placeholder parse "%%Your game placeholder%%" as player
message "%{_quene}%"
 
Status
Not open for further replies.