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.

Solved What´s wrong?

Discussion in 'Skript' started by xCoini, May 1, 2019.

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

    xCoini Member

    Joined:
    Apr 19, 2019
    Messages:
    14
    Likes Received:
    0
    Code (Text):
    1. on chat:
    2.             if {chat.%player%} is true:
    3.             cancel event
    4.             send "&cNo"

    The error is:

    Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don`t want this line start a section.
    ("if {chat.%player%} is true:")
     
    #1 xCoini, May 1, 2019
    Last edited: May 1, 2019
  2. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
  3. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    You put the ":" in the same distance as the tabulator.
    As it should be:
    Code (Skript):
    1.  
    2. on chat:
    3.     if {chat.%player%} is true:
    4.         cancel event
    5.         send "&cNo"
    6.  
    How did you place it:
    Code (Skript):
    1.  
    2. on chat:
    3.     if {chat.%player%} is true:
    4.     cancel event
    5.     send "&cNo"
    6.  
     
  4. xCoini

    xCoini Member

    Joined:
    Apr 19, 2019
    Messages:
    14
    Likes Received:
    0
    Thanks <3
     
  5. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Make post as solved
     
Thread Status:
Not open for further replies.

Share This Page

Loading...