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

Why isn't my skript working

Discussion in 'Skript' started by LukaDukaYT, Sep 28, 2019.

  1. LukaDukaYT

    LukaDukaYT Member

    Joined:
    Sep 23, 2019
    Messages:
    11
    Likes Received:
    1
    command /create [<text>]:
    trigger:
    if {servers::*} contains "%argument%":
    message "&bName is already taken!"
    else:
    add argument to {servers::*}
    message "&bCongrats&3! You made a playground called &b%arg 1%&3!"
    execute console command "mv create %argument% normal -g VoidGenerator"

    command /join [<text>]:
    trigger:
    execute console command "mvtp %player% %argument%"
     
  2. Strixus17

    Strixus17 Member

    Joined:
    Aug 18, 2019
    Messages:
    7
    Likes Received:
    0
    Replace %argument%with %arg 1%
     
  3. LukaDukaYT

    LukaDukaYT Member

    Joined:
    Sep 23, 2019
    Messages:
    11
    Likes Received:
    1
    Thanks!
     
    • Like Like x 1
  4. GamingHard

    GamingHard Member

    Joined:
    Oct 5, 2019
    Messages:
    17
    Likes Received:
    0
    Code (Text):
    1. command /create [<text>]:
    2.     trigger:
    3.         if {servers::*} contains "%arg-1%":
    4.             message "&bName is already taken!"
    5.         else:
    6.             add argument to {servers::*}
    7.             message "&bCongrats&3! You made a playground called &b%arg 1%&3!"
    8.             execute console command "mv create %argument% normal -g VoidGenerator"
    9.  
    10. command /join [<text>]:
    11.     trigger:
    12.         execute console command "mvtp %player% %argument%"
     
Loading...