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.

Message problem

Discussion in 'Skript' started by Jonathan Cohen, Dec 2, 2020.

Thread Status:
Not open for further replies.
  1. Jonathan Cohen

    Joined:
    Jul 31, 2019
    Messages:
    24
    Likes Received:
    0
    1. Script Version: 2.2-dev25
    2. Script Author: Njol
    3. Minecraft Version: 1.8
    4. Full Code: https://pastebin.com/HyXLfm6U
    5. I keep getting the wrong message on the command /sw create {arena} {mode}.

    6. it sends the {@noarenaname} instead of the {@nomodename} when not typing the mode or typing the wrong mode.

    7. I hope any of you can help me.
     
  2. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    I do not see where you set {@noarenaname} or {@nomodename} in options:.
    Maybe you switched their text? If it performs as wanted, you can just switch the text or variables around.
     
  3. Jonathan Cohen

    Joined:
    Jul 31, 2019
    Messages:
    24
    Likes Received:
    0
    noarenaname: {@prefix} &cPlease provide an arena name!
    nomodename: {@prefix} &cPlease provide a mode! Availible modes: SOLO_NORMAL, SOLO_INSANE, TEAM_NORMAL, TEAM_INSANE
     
  4. Time4Games

    Time4Games Active Member

    Joined:
    Jul 25, 2020
    Messages:
    202
    Likes Received:
    4
    can you send the whole code please?
     
  5. Jonathan Cohen

    Joined:
    Jul 31, 2019
    Messages:
    24
    Likes Received:
    0
  6. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    variable=, not variable:
    this should be the usual format for options: variables
     
  7. Jonathan Cohen

    Joined:
    Jul 31, 2019
    Messages:
    24
    Likes Received:
    0
    Sorry, what do you mean?
     
  8. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    The use of options: is regularly
    variablegohere= whateveryousetvariableto

    irregular use of options:
    variablegohere: whateveryousetvariableto
     
Thread Status:
Not open for further replies.

Share This Page

Loading...