1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

minigame name fail

Discussion in 'Skript' started by lordgamadon, Apr 19, 2020.

Thread Status:
Not open for further replies.
  1. lordgamadon

    lordgamadon New Member

    Joined:
    Apr 4, 2020
    Messages:
    8
    Likes Received:
    0
    so im trying t o make a minigame that players can join and i have some problems getting the player into my variable
    Code (Text):
    1.  options:
    2.     {event.players}: %{joined.event.players}%
    3.    
    4. command /eventstart:
    5.     trigger:
    6.         teleport {event.players} to {event.respawn}
    7.  
    8. command /eventjoin:
    9.     trigger:
    10.         add player's name to {joined.event.players}
    11.         send "&a&lSUCCES &8du joined &bSnowball-event"
    12. [CODE] if you have any idea what i could do so they can get teleported and get their permissions
     
  2. krainser

    krainser Member

    Joined:
    Jan 27, 2017
    Messages:
    60
    Likes Received:
    3
    the right way to use a list variable (a variable that can hold more than 1 data) is using this format {event.players::*}.
    actually you are trying to put a lot of player's name inside one variable that can holdo only 1 name. i suggest you to read docs and watch video tutorials because this is the basics of skripts
     
Thread Status:
Not open for further replies.

Share This Page

Loading...