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

    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!

LeTobias924001

New Member
Jan 28, 2024
5
0
1
Hello there,
I have a problem
The Skript file brings a lot of errors
 

Attachments

  • plotrating (1).sk
    272.3 KB · Views: 224
Hello there,
I have a problem
The Skript file brings a lot of errors
Da ich deinem Code entnehmen konnte, dass du Deutsch sprachen kannst, antworte ich jetzt auch einfach mal auf Deutsch.
Ich habe aber einen Tipp um deinen Code WESNTLICH zu verschönern:
Du kannst einfach einen dieser Codeteile:
Code:
        set slot 0 of {_gui} to black stained glass pane named "&7"
        set slot 1 of {_gui} to black stained glass pane named "&7"
        set slot 2 of {_gui} to black stained glass pane named "&7"
        set slot 3 of {_gui} to black stained glass pane named "&7"
        set slot 4 of {_gui} to black stained glass pane named "&7"
        set slot 5 of {_gui} to black stained glass pane named "&7"
        set slot 6 of {_gui} to black stained glass pane named "&7"
        set slot 7 of {_gui} to black stained glass pane named "&7"
        set slot 8 of {_gui} to black stained glass pane named "&7"
        set slot 9 of {_gui} to black stained glass pane named "&7"
        set slot 10 of {_gui} to black stained glass pane named "&7"
        set slot 11 of {_gui} to black stained glass pane named "&7"
        set slot 12 of {_gui} to black stained glass pane named "&7"
        set slot 13 of {_gui} to iron trapdoor named "&7Keller"
        set slot 14 of {_gui} to black stained glass pane named "&7"
        set slot 15 of {_gui} to black stained glass pane named "&7"
        set slot 16 of {_gui} to black stained glass pane named "&7"
        set slot 17 of {_gui} to black stained glass pane named "&7"
        set slot 18 of {_gui} to black stained glass pane named "&7"
        set slot 19 of {_gui} to black stained glass pane named "&7"
        set slot 20 of {_gui} to black stained glass pane named "&7"
        set slot 21 of {_gui} to black stained glass pane named "&7"
        set slot 22 of {_gui} to black stained glass pane named "&7"
        set slot 23 of {_gui} to black stained glass pane named "&7"
        set slot 24 of {_gui} to black stained glass pane named "&7"
        set slot 25 of {_gui} to black stained glass pane named "&7"
        set slot 26 of {_gui} to black stained glass pane named "&7"
        set slot 27 of {_gui} to black stained glass pane named "&7"
        set slot 28 of {_gui} to black stained glass pane named "&7"
        set slot 29 of {_gui} to white stained glass pane named "&e1 Punkte"
        set slot 30 of {_gui} to white stained glass pane named "&e2 Punkte"
        set slot 31 of {_gui} to white stained glass pane named "&e3 Punkte"
        set slot 32 of {_gui} to white stained glass pane named "&e4 Punkte"
        set slot 33 of {_gui} to white stained glass pane named "&e5 Punkte"
        set slot 34 of {_gui} to black stained glass pane named "&7"
        set slot 35 of {_gui} to black stained glass pane named "&7"
        set slot 36 of {_gui} to black stained glass pane named "&7"
        set slot 37 of {_gui} to black stained glass pane named "&7"
        set slot 38 of {_gui} to black stained glass pane named "&7"
        set slot 39 of {_gui} to black stained glass pane named "&7"
        set slot 40 of {_gui} to black stained glass pane named "&7"
        set slot 41 of {_gui} to black stained glass pane named "&7"
        set slot 42 of {_gui} to black stained glass pane named "&7"
        set slot 43 of {_gui} to black stained glass pane named "&7"
        set slot 44 of {_gui} to black stained glass pane named "&7"
        set slot 45 of {_gui} to black stained glass pane named "&7"
        set slot 46 of {_gui} to black stained glass pane named "&7"
        set slot 47 of {_gui} to redstone torch named "&4Abbrechen"
        set slot 48 of {_gui} to black stained glass pane named "&7"
        set slot 49 of {_gui} to red stained glass pane named "&4Kategorie überspringen"
        set slot 50 of {_gui} to black stained glass pane named "&7"
        set slot 51 of {_gui} to arrow named "&aNächste Kategorie"
        set slot 52 of {_gui} to black stained glass pane named "&7"
        set slot 53 of {_gui} to black stained glass pane named "&7"
zu
Code:
        set slot (integers from 0 to 12) of {_gui} to black stained glass pane named "&7"
        set slot 13 of {_gui} to iron trapdoor named "&7Keller"
        set slot (integers from 14 to 28) of {_gui} to black stained glass pane named "&7"
        set slot 29 of {_gui} to white stained glass pane named "&e1 Punkte"
        set slot 30 of {_gui} to white stained glass pane named "&e2 Punkte"
        set slot 31 of {_gui} to white stained glass pane named "&e3 Punkte"
        set slot 32 of {_gui} to white stained glass pane named "&e4 Punkte"
        set slot 33 of {_gui} to white stained glass pane named "&e5 Punkte"
        set slot (integers fron 34 to 46) of {_gui} to black stained glass pane named "&7"
        set slot 47 of {_gui} to redstone torch named "&4Abbrechen"
        set slot 48 of {_gui} to black stained glass pane named "&7"
        set slot 49 of {_gui} to red stained glass pane named "&4Kategorie überspringen"
        set slot 50 of {_gui} to black stained glass pane named "&7"
        set slot 51 of {_gui} to arrow named "&aNächste Kategorie"
        set slot 52 of {_gui} to black stained glass pane named "&7"
        set slot 53 of {_gui} to black stained glass pane named "&7"
ändern. Das würde ihn wesentlich lesbarer machen :emoji_wink:
 
Ich habe jetzt zwar nicht genau verstanden, was diese Commands machen sollen aber die ganezn /pw und /bw Commands wäre doch bestimmt auch mit einem Argument lösbar... Z.B.:
/pw <integer>:
trigger:

usw...
 
Ein Grund der Errors könnte z.B. in Zeile 3326 und dem entsprachend auch in den anderen Commands sein, da du ja nirgendwo ein arg-1 hast, mit diesem willst du ja aber arbeiten im Command code