Skocz do zawartości

Pytanie

Użytkownik

Hej, mam problem z gui a zarazem:

[20:17:07 INFO]: [Skript] Reloading rangdajka.sk...

[20:17:07 ERROR]: indentation error: expected 12 spaces, but found 3 tabs (rangdajka.sk, line 13: format slot 5 of player with 1 of 397 named "&aDaj range" to close then run [make player execute "dajrange %arg 1%"]')

[20:17:07 ERROR]: indentation error: expected 12 spaces, but found 3 tabs (rangdajka.sk, line 32: format slot 8 of player with 1 of arrow named "&4&lWroc" to close then run [make player execute "dr %arg 1%"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 1 tab (rangdajka.sk, line 36: trigger:')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 8 spaces (rangdajka.sk, line 37: if arg-1 is not set:')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 12 spaces (rangdajka.sk, line 38: send "&4Blad: &cUzycie: &4/&cdegraduj &4<&cnick&4>" to player')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 2 tabs (rangdajka.sk, line 39: if arg-1 is set:')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 40: open chest with 1 row named "&cDegraduj" to player')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 41: wait 1 tick')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 42: format slot 3 of player with 1 of 287 named "&c&lBez &6&lwynagrodzenia" to close then run [make console execute "pex user %arg 1% group set Gracz"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 43: format slot 5 of player with 1 of chest named "&a&lZ &6&lwynagrodzeniem" to close then run [make console execute "pex user %arg 1% group set VIP"]->[make console execute "nhajs %arg 1% 2.50"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 44: format slot 8 of player with 1 of arrow named "&4&lWroc" to close then run [make player execute "dr %arg 1%"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 1 tab (rangdajka.sk, line 48: trigger:')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 8 spaces (rangdajka.sk, line 49: if arg-1 is not set:')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 12 spaces (rangdajka.sk, line 50: send "&4Blad: &cUzycie: &4/&cdajrange &4<&cnick&4>" to player')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 2 tabs (rangdajka.sk, line 51: if arg-1 is set:')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 52: open chest with 1 row named "&aDaj range" to player')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 53: wait 1 tick')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 54: format slot 2 of player with 1 of 268 named "&a&lGracz" to close then run [make console execute "pex user %arg 1% group set Gracz"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 55: format slot 3 of player with 1 of 272 named "&b&lVIP" to close then run [make console execute "pex user %arg 1% group set VIP"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 56: format slot 4 of player with 1 of 267 named "&5&lSVIP" to close then run [make console execute "pex user %arg 1% group set SVIP"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 57: format slot 5 of player with 1 of 283 named "&9&lSponsor" to close then run [make console execute "pex user %arg 1% group set Sponsor"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 58: format slot 6 of player with 1 of 276 named "&a&lS&2&lw&f&la&e&lg&6&lg&c&le&4&lr" to close then run [make console execute "pex user %arg 1% group set Swagger"]')

[20:17:07 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (rangdajka.sk, line 59: format slot 8 of player with 1 of arrow named "&4&lWroc" to close then run [make player execute "dr %arg 1%"]')

[20:17:07 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '38:3' with e.g. 'azure bluet'. (rangdajka.sk, line 11: format slot 3 of player with 1 of 38:3 named "&aAwansuj" to close then run [make player execute "awansuj %arg 1%"]')

[20:17:07 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '86' with e.g. 'pumpkin'. (rangdajka.sk, line 12: format slot 4 of player with 1 of 86 named "&cDegraduj" to close then run [make player execute "degraduj %arg 1%"]')

[20:17:07 ERROR]: '"&8Zamknij menu" to close' is not a text (rangdajka.sk, line 14: format slot 8 of player with 1 of barrier named "&8Zamknij menu" to close')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:10' with e.g. 'purple clay'. (rangdajka.sk, line 24: format slot 0 of player with 1 of 159:10 named "&5&lChatMod" to close then run [make console execute "pex user %arg 1% group set ChatMod"]')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:3' with e.g. 'light blue clay'. (rangdajka.sk, line 25: format slot 1 of player with 1 of 159:3 named "&b&lHelper" to close then run [make console execute "pex user %arg 1% group set Helper"]')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:5' with e.g. 'light green clay'. (rangdajka.sk, line 26: format slot 2 of player with 1 of 159:5 named "&a&lMod" to close then run [make console execute "pex user %arg 1% group set Mod"]')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:4' with e.g. 'yellow clay'. (rangdajka.sk, line 27: format slot 3 of player with 1 of 159:4named "&e&lKidAdmin" to close then run [make console execute "pex user %arg 1% group set KidAdmin"]')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:6' with e.g. 'pink clay'. (rangdajka.sk, line 28: format slot 4 of player with 1 of 159:6 named "&c&lAdmin" to close then run [make console execute "pex user %arg 1% group set Admin"]')

[20:17:08 ERROR]: '"&c&lHeadAdmin" to close then runn [make console execute "pex user %arg 1% group set [email protected]"]' is not a text (rangdajka.sk, line 29: format slot 5 of player with 1 of 159:6 named "&c&lHeadAdmin" to close then runn [make console execute "pex user %arg 1% group set [email protected]"]')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:14' with e.g. 'red clay'. (rangdajka.sk, line 30: format slot 6 of player with 1 of 159:14 named "&4&lOpiekun" to close then run [make console execute "pex user %arg 1% group set Opiekun"]')

[20:17:08 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '159:14' with e.g. 'red clay'. (rangdajka.sk, line 31: format slot 7 of player with 1 of 159:14 named "&4&lWlasciciel" to close then run [make console execute "pex user %arg 1% group set Wlasciciel"]')

[20:17:08 ERROR]: Required entry 'trigger' is missing in 'command /degraduj [<offline player>]' (rangdajka.sk, starting at line 33) (rangdajka.sk, line 35: permission message: "&4Blad: &cNie posiadasz wystarczajacej permisji! &4(&clavarank&4.&cdegrad&4)"')

[20:17:08 ERROR]: Required entry 'trigger' is missing in 'command /dajrange [<offline player>]' (rangdajka.sk, starting at line 45) (rangdajka.sk, line 47: permission message: "&4Blad: &cNie posiadasz wystarczajacej permisji! &4(&clavarank&4.&cdajrange&4)"')

[20:17:08 INFO]: [Skript] Encountered 27 errors while reloading rangdajka.sk!

A mam taki skrypt:

command /dr [<offline player>]:
    aliases: /dajrange /admin /giverank
    permission: lavarank.menu
    permission message: "&4Blad: &cNie posiadasz wystarczajacej permisji! &4(&clavarank&4.&cmenu&4)"
    trigger:
        if arg-1 is not set:
            send "&4Blad: &cUzycie: &4/&cdr &4<&cnick&4>" to player
        if arg-1 is set:
            open chest with 1 row named "&aMenu Awansowania" to player
            wait 1 tick
            format slot 3 of player with 1 of 38:3 named "&aAwansuj" to close then run [make player execute "awansuj %arg 1%"]
            format slot 4 of player with 1 of 86 named "&cDegraduj" to close then run [make player execute "degraduj %arg 1%"]
            format slot 5 of player with 1 of 397 named "&aDaj range" to close then run [make player execute "dajrange %arg 1%"]
            format slot 8 of player with 1 of barrier named "&8Zamknij menu" to close
command /awansuj [<offline player>]:
    permission: lavarank.awans
    permission message: "&4Blad: &cNie posiadasz wystarczajacej permisji! &4(&clavarank&4.&cawans&4)"
    trigger:
        if arg-1 is not set:
            send "&4Blad: &cUzycie: &4/&cawansuj &4<&cnick&4>" to player
        if arg-1 is set:
            open chest with 1 row named "&aAwansuj" to player
            wait 1 tick
            format slot 0 of player with 1 of 159:10 named "&5&lChatMod" to close then run [make console execute "pex user %arg 1% group set ChatMod"]
            format slot 1 of player with 1 of 159:3 named "&b&lHelper" to close then run [make console execute "pex user %arg 1% group set Helper"]
            format slot 2 of player with 1 of 159:5 named "&a&lMod" to close then run [make console execute "pex user %arg 1% group set Mod"]
            format slot 3 of player with 1 of 159:4  named "&e&lKidAdmin" to close then run [make console execute "pex user %arg 1% group set KidAdmin"]
            format slot 4 of player with 1 of 159:6 named "&c&lAdmin" to close then run [make console execute "pex user %arg 1% group set Admin"]
            format slot 5 of player with 1 of 159:6 named "&c&lHeadAdmin" to close then runn [make console execute "pex user %arg 1% group set [email protected]"]
            format slot 6 of player with 1 of 159:14 named "&4&lOpiekun" to close then run [make console execute "pex user %arg 1% group set Opiekun"]
            format slot 7 of player with 1 of 159:14 named "&4&lWlasciciel" to close then run [make console execute "pex user %arg 1% group set Wlasciciel"]
            format slot 8 of player with 1 of arrow named "&4&lWroc" to close then run [make player execute "dr %arg 1%"]
command /degraduj [<offline player>]:
    permission: lavarank.degrad
    permission message: "&4Blad: &cNie posiadasz wystarczajacej permisji! &4(&clavarank&4.&cdegrad&4)"
    trigger:
        if arg-1 is not set:
            send "&4Blad: &cUzycie: &4/&cdegraduj &4<&cnick&4>" to player
        if arg-1 is set:
            open chest with 1 row named "&cDegraduj" to player
            wait 1 tick
            format slot 3 of player with 1 of 287 named "&c&lBez &6&lwynagrodzenia" to close then run [make console execute "pex user %arg 1% group set Gracz"]
            format slot 5 of player with 1 of chest named "&a&lZ &6&lwynagrodzeniem" to close then run [make console execute "pex user %arg 1% group set VIP"]->[make console execute "nhajs %arg 1% 2.50"]
            format slot 8 of player with 1 of arrow named "&4&lWroc" to close then run [make player execute "dr %arg 1%"]
command /dajrange [<offline player>]:
    permission: lavarank.dajrange
    permission message: "&4Blad: &cNie posiadasz wystarczajacej permisji! &4(&clavarank&4.&cdajrange&4)"
    trigger:
        if arg-1 is not set:
            send "&4Blad: &cUzycie: &4/&cdajrange &4<&cnick&4>" to player
        if arg-1 is set:
            open chest with 1 row named "&aDaj range" to player
            wait 1 tick
            format slot 2 of player with 1 of 268 named "&a&lGracz" to close then run [make console execute "pex user %arg 1% group set Gracz"]
            format slot 3 of player with 1 of 272 named "&b&lVIP" to close then run [make console execute "pex user %arg 1% group set VIP"]
            format slot 4 of player with 1 of 267 named "&5&lSVIP" to close then run [make console execute "pex user %arg 1% group set SVIP"]
            format slot 5 of player with 1 of 283 named "&9&lSponsor" to close then run [make console execute "pex user %arg 1% group set Sponsor"]
            format slot 6 of player with 1 of 276 named "&a&lS&2&lw&f&la&e&lg&6&lg&c&le&4&lr" to close then run [make console execute "pex user %arg 1% group set Swagger"]
            format slot 8 of player with 1 of arrow named "&4&lWroc" to close then run [make player execute "dr %arg 1%"]

Wiecie w czym problem? Prosze pomóżcie :/

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Użytkownik
  • 0

Tylko mniej błędów, teraz w konsoli są takie błędy i warny:

[20:51:41 INFO]: [Skript] Reloading rangdajka.sk...

[20:51:41 ERROR]: '"&aDaj range" to close then run [make player execute "dajrange %arg 1%"]' is not a text (rangdajka.sk, line 13: format slot 5 of player with 1 of mob_head_item named "&aDaj range" to close then run [make player execute "dajrange %arg 1%"]')

[20:51:41 ERROR]: '"&8Zamknij menu" to close' is not a text (rangdajka.sk, line 14: format slot 8 of player with 1 of barrier named "&8Zamknij menu" to close')

[20:51:42 ERROR]: '"&c&lHeadAdmin" to close then runn [make console execute "pex user %arg 1% group set [email protected]"]' is not a text (rangdajka.sk, line 29: format slot 5 of player with 1 of 159:6 named "&c&lHeadAdmin" to close then runn [make console execute "pex user %arg 1% group set [email protected]"]')

[20:51:42 ERROR]: '"&a&lGracz" to close then run [make console execute "pex user %arg 1% group set Gracz"]' is not a text (rangdajka.sk, line 54: format slot 2 of player with 1 of wooden_sword named "&a&lGracz" to close then run [make console execute "pex user %arg 1% group set Gracz"]')

[20:51:42 ERROR]: '"&b&lVIP" to close then run [make console execute "pex user %arg 1% group set VIP"]' is not a text (rangdajka.sk, line 55: format slot 3 of player with 1 of stone_sword named "&b&lVIP" to close then run [make console execute "pex user %arg 1% group set VIP"]')

[20:51:42 ERROR]: '"&5&lSVIP" to close then run [make console execute "pex user %arg 1% group set SVIP"]' is not a text (rangdajka.sk, line 56: format slot 4 of player with 1 of iron_sword named "&5&lSVIP" to close then run [make console execute "pex user %arg 1% group set SVIP"]')

[20:51:42 ERROR]: '"&9&lSponsor" to close then run [make console execute "pex user %arg 1% group set Sponsor"]' is not a text (rangdajka.sk, line 57: format slot 5 of player with 1 of golden_sword named "&9&lSponsor" to close then run [make console execute "pex user %arg 1% group set Sponsor"]')

[20:51:42 ERROR]: '"&a&lS&2&lw&f&la&e&lg&6&lg&c&le&4&lr" to close then run [make console execute "pex user %arg 1% group set Swagger"]' is not a text (rangdajka.sk, line 58: format slot 6 of player with 1 of diamond_sword named "&a&lS&2&lw&f&la&e&lg&6&lg&c&le&4&lr" to close then run [make console execute "pex user %arg 1% group set Swagger"]')

[20:51:42 INFO]: [Skript] Encountered 8 errors while reloading rangdajka.sk!

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Losowy awatar
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

  • Przeglądający   0 użytkowników

    Brak zarejestrowanych użytkowników przeglądających tę stronę.

×