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.

what is wrong

Discussion in 'Skript' started by xCoini, Jun 20, 2019.

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

    xCoini Member

    Joined:
    Apr 19, 2019
    Messages:
    14
    Likes Received:
    0
    Code (Text):
    1. every second:
    2.     loop all players:
    3.         if block below loop-player is diamond block:
    4.             if loop-player's inventory contains 1 blaze powder:
    5.                 if loop-player's inventory contains 1 nether star named "&5- >&6 magisches Plasma&5 < -"
    6.                 if loop-player's level is higher or equal to 1:
    7.                 remove 1 blaze powder from the loop-player's inventory
    8.                 remove 1 nether star named "&5- >&6 magisches Plasma&5 < -" from the loop-player's inventory
    9.                 make console execute command "xp 1l %loop-player%"
    10.                 give loop-player 1 gold block named "&6Normaler Zauberstab1"
    11.                 stop
    Error:
    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 to start a section (line 6)
    "if loop-player's level" is not an entity type
    (line 5)
     
  2. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    upload_2019-6-20_17-18-28.png
    I do not know if you noticed that detail. You put the ':' but you did not put more tabs later and followed the code on the same line.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...