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.

Random Elements

Discussion in 'Skript' started by Auswahluhr6004, Apr 16, 2017.

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

    Joined:
    Mar 1, 2017
    Messages:
    109
    Likes Received:
    1
    Hey, how can i set 2 player's out of a list randomly? (And sorry for my bad english, im from Germany)

    The Code:

    Code (Skript):
    1.         add "A" to {List::TEST0000111::*}
    2.         add "C" to {List::TEST0000111::*}
    3.         add "G" to {List::TEST0000111::*}
    4.         add "H" to {List::TEST0000111::*}
    5.         add "Z" to {List::TEST0000111::*}
    6.         set {Test.02} to 2 random element out of {List::TEST0000111::*}
     
Thread Status:
Not open for further replies.

Share This Page

Loading...