Solved Help me I don't understand.

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Cowio

New Member
Aug 13, 2017
7
0
0
22
Skript Version:Skript.jar
Skript Author:Me
Minecraft Version:1.8

---
Full Code:
Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)
Note: If a variable is being set in another script, but not shown, please explain how they are being set


code_language.skript:
variables:
    {mc_keys} = 0




Command /mckeys:
    trigger:
        message "You have %{mc_keys}% key(s)"


Command /mckeysreset:
    trigger:
        set {mc_keys} to 0


Command /mckeysgive <number>:
    trigger:
        if arg-1 is set:
            add %arg-1% to {mc_keys}
            message "Successfully added %arg-1% key(s) to player"

Errors on Reload:

code_language.skript:
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. (minecrates.sk, line 1: options:') '%arg-1%' is not an entity type (minecrates.sk, line 31: add %arg-1% to {mc_keys}')

Console Errors: (if applicable)

code_language.skript:
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. (minecrates.sk, line 1: options:') '%arg-1%' is not an entity type (minecrates.sk, line 31: add %arg-1% to {mc_keys}')

Other Useful Info:

Addons using (including versions):
SkRayFall_v1.9.7.jar
SkQuery.jar
Skript.jar

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Searching for it on google, skunity and yt.
 
Status
Not open for further replies.