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.

I Need someone's help :’

Discussion in 'Skript' started by CinaB, Aug 15, 2019 at 3:38 AM.

  1. C

    CinaB Member

    Joined:
    Thursday
    Messages:
    1
    Likes Received:
    0
    Code (Text):
    1. options:
    2.     Head: &f[ &3&lSystem&f ]&e
    3.  
    4. command /StarterKit:
    5.     trigger:
    6.         if {newbie::%player%} is 1:
    7.             send ""
    8.             send "{@Head} Already Set"
    9.             send ""
    10.             exit
    11.         if {newbie::%player%} is not set:
    12.             set {newbie::%player%} to 1
    13.             loop {set.defaultitem::*}:
    14.                 if loop-value is not air:
    15.                     give loop-value to player
    16.             send "{@Head} StarterKit received"
    17.  
    18. command /skset [<text>] [<text>]:
    19.     permission: zistered.defaultset
    20.     permission message: &fUnknown command. type "help" for help.
    21.     trigger:
    22.         if arg 1 is not set:
    23.             send ""
    24.             send "{@Head} /skset reset [username]"
    25.             send "{@Head} /skset item"
    26.             send ""
    27.         if arg 1 is "reset":
    28.             delete {newbie::%arg 2%}
    29.             send ""
    30.             send "{@Head} &6%arg 2%&e's StarterKit Setting is cleared"
    31.             send ""
    32.         if arg 1 is "item":
    33.             open chest with 4 row named "StarterKit Setting" to player
    34.             loop {set.defaultitem::*}:
    35.                 add 1 to {_player}
    36.                 set slot {_player}-1 of current inventory of player to loop-value
    37.  
    38. on inventory close:
    39.     if inventory name of current inventory of player contains "StarterKit Setting":
    40.         delete {set.defaultitem::*}
    41.         loop 36 times:
    42.             add slot (loop-number)-1 of current inventory of player to {set.defaultitem::*}
    43.         send ""
    44.         send "{@Head} StarterKit Set"
    45.         send ""
    46.         stop



    Hello, Guys!

    This is my StarterKit Skript but does not work, and This kind of message comes up..


    Maybe I think this part, [efffect: open chest with 4 row ] is a problem.

    But I can't figure out another way to replace this

    Please someone help me :’
     
  2. LukynkaCZE

    LukynkaCZE Member

    Joined:
    May 12, 2019
    Messages:
    21
    Likes Received:
    0
  3. YukiSuno

    YukiSuno Member

    Joined:
    Mar 14, 2017
    Messages:
    4
    Likes Received:
    0
    Maybe the problem is "open chest with 4 row named "StarterKit Setting" to player". Try writing rows instead maybe that already fixes it!
     
Loading...