Skocz do zawartości
  • 0

Dlaczego to nie działa?


Pytanie

Hej mam pytanko, ktoś mi może pomóc, wytłumaczyć dlaczego to nie działa?

Błąd: "to close then run execute console command "/e1" is not a text

Linijka kodu: https://code.skript.pl/eIzITA7N/

Edytowane przez ShadowEk
Odnośnik do komentarza
https://skript.pl/temat/24791-dlaczego-to-nie-dzia%C5%82a/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 1

Ty chcesz zrobić efekty w skrypcie?

To przestań xd Jeżeli chcesz aby gracze nie bugowali gui ;3 Zrób w ChestCommands

Edytowane przez mateuszeqq13212
Odnośnik do komentarza
https://skript.pl/temat/24791-dlaczego-to-nie-dzia%C5%82a/#findComment-165451
Udostępnij na innych stronach

  • 0
2 minuty temu, mateuszeqq13212 napisał:

Ty chcesz zrobić efekty w skrypcie?

To przestań xd Jeżeli chcesz aby gracze nie bugowali gui ;3 Zrób w ChestCommands

Wole w skrypcie...

Odnośnik do komentarza
https://skript.pl/temat/24791-dlaczego-to-nie-dzia%C5%82a/#findComment-165452
Udostępnij na innych stronach

  • 1
Spoiler

command /efekty:
    trigger:
        open chest with 2 rows named "&6&lEFEKTY" to player
        wait 2 ticks
        format slot 0 of player with Gray Stained Glass Pane named " " to close
        format slot 1 of player with Gray Stained Glass Pane named " " to close
        format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniespeed %player%"]
        format slot 3 of player with Gray Stained Glass Pane named " " to close
        format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run [execute player command "toniesila %player%"]
        format slot 5 of player with Gray Stained Glass Pane named " " to close
        format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniefire %player%"]
        format slot 7 of player with Gray Stained Glass Pane named " " to close
        format slot 8 of player with Gray Stained Glass Pane named " " to close
        format slot 9 of player with Gray Stained Glass Pane named " " to close
        format slot 10 of player with Gray Stained Glass Pane named " " to close
        format slot 11 of player with Gray Stained Glass Pane named " " to close
        format slot 12 of player with Gray Stained Glass Pane named " " to close
        format slot 13 of player with Fire named "&5&lWYJDZ" to close  
        format slot 14 of player with Gray Stained Glass Pane named " " to close
        format slot 15 of player with Gray Stained Glass Pane named " " to close
        format slot 16 of player with Gray Stained Glass Pane named " " to close
        format slot 17 of player with Gray Stained Glass Pane named " " to close
        stop
command /toniesila [<player>]:
    trigger:
        if player-arg has 128 Emerald:
            remove 128 Emerald from player-arg
            remove Strength from player-arg
            wait 10 ticks
            apply Strength to the player-arg for 240 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Sily."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniespeed [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove speed from player-arg
            wait 10 ticks
            apply speed to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Szybkosci."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniefire [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove fire resistance from player-arg
            wait 10 ticks
            apply fire resistance to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Odpornosci Na Ogien."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop

Nie jest to mój skrypt na zobacz czy zadziała 

Odnośnik do komentarza
https://skript.pl/temat/24791-dlaczego-to-nie-dzia%C5%82a/#findComment-165453
Udostępnij na innych stronach

  • 0
2 minuty temu, mateuszeqq13212 napisał:
  Ukryj zawartość


command /efekty:
    trigger:
        open chest with 2 rows named "&6&lEFEKTY" to player
        wait 2 ticks
        format slot 0 of player with Gray Stained Glass Pane named " " to close
        format slot 1 of player with Gray Stained Glass Pane named " " to close
        format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniespeed %player%"]
        format slot 3 of player with Gray Stained Glass Pane named " " to close
        format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run [execute player command "toniesila %player%"]
        format slot 5 of player with Gray Stained Glass Pane named " " to close
        format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniefire %player%"]
        format slot 7 of player with Gray Stained Glass Pane named " " to close
        format slot 8 of player with Gray Stained Glass Pane named " " to close
        format slot 9 of player with Gray Stained Glass Pane named " " to close
        format slot 10 of player with Gray Stained Glass Pane named " " to close
        format slot 11 of player with Gray Stained Glass Pane named " " to close
        format slot 12 of player with Gray Stained Glass Pane named " " to close
        format slot 13 of player with Fire named "&5&lWYJDZ" to close  
        format slot 14 of player with Gray Stained Glass Pane named " " to close
        format slot 15 of player with Gray Stained Glass Pane named " " to close
        format slot 16 of player with Gray Stained Glass Pane named " " to close
        format slot 17 of player with Gray Stained Glass Pane named " " to close
        stop
command /toniesila [<player>]:
    trigger:
        if player-arg has 128 Emerald:
            remove 128 Emerald from player-arg
            remove Strength from player-arg
            wait 10 ticks
            apply Strength to the player-arg for 240 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Sily."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniespeed [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove speed from player-arg
            wait 10 ticks
            apply speed to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Szybkosci."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniefire [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove fire resistance from player-arg
            wait 10 ticks
            apply fire resistance to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Odpornosci Na Ogien."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop

Nie jest to mój skrypt na zobacz czy zadziała 

"Is not a text". To samo.

Odnośnik do komentarza
https://skript.pl/temat/24791-dlaczego-to-nie-dzia%C5%82a/#findComment-165454
Udostępnij na innych stronach

  • 0
8 minut temu, mateuszeqq13212 napisał:

Miałem to samo. To nie wina skryptu lecz pluginów. Pobierz inne. Masz coś nie tak z nimi: WildSkript Skript i SqQuerty

Okej, dzięki za rade, spróbuję.

8 minut temu, mateuszeqq13212 napisał:

Miałem to samo. To nie wina skryptu lecz pluginów. Pobierz inne. Masz coś nie tak z nimi: WildSkript Skript i SqQuerty

Dzięki Ci bardzo! Zadziałało.

Ale jeszcze jedno, przepraszam pomyłka. Klikam na to i nie daje mi efektu. A błędów nie ma.

Do zamknięcia jednak xD.

Edytowane przez ShadowEk
Odnośnik do komentarza
https://skript.pl/temat/24791-dlaczego-to-nie-dzia%C5%82a/#findComment-165456
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...