Skocz do zawartości
  • 0

Pomoc ze skryptem.


AdasAdasiek

Pytanie

Dzisaj zrobilem skrypta na sethome (wlasnego) natomiast obawialem sie ze to moze nie dzialac ;( nie dziala. 

Moze ktos doradzic co zrobilem zle?

command /sethome [<text>]:
    trigger:
        if arg 1 is not set:
            send "&4Wpisz nazwe domu"
        else:
          if player is in world "survival":
               if {dom.%player%.%arg 1%} is not set:
                  set {dom.%player%.%arg 1%} to location of player
                  send "&aStworzono dom pod nazwą &e%arg 1%&a!"
                  send "&aAby przeteleportowac sie do domu, wpisz komendę /home %arg 1%"
          else:
            send "&4Aby wykonać tą komendę musisz być na survivalu."
               else:
                 send "&4Masz juz taki dom." 
command /home [<text>]:
    trigger:
        if arg 1 is not set:
            send "&4Wpisz nazwe domu."
        else:
          if player is in world "survival":
                if {dom.%player%.%arg 1%} is not set:
                    send "&4Nie stworzyles takiego domu."
          else:
            send "&4Musisz byc na survivalu."
                else:
                  set {teleport.%player%.dom} to "on"
                  if {teleport.%player%.dom} is "on":
                        wait 1 second
                        send "&4Poczekaj 5sekund"
                        wait 1 second
                        if {teleport.%player%.dom} is "on":
                              send "&4Poczekaj 4 sekundy"
                              wait 1 second
                              if {teleport.%player%.dom} is "on":
                                    send "&4Poczekaj 3 sekundy"
                                    wait 1 second
                                    if {teleport.%player%.dom} is "on":
                                          send "&4Poczekaj 2 sekundy"
                                          wait 1 second
                                          if {teleport.%player%.dom} is "on":
                                                send "&4Poczekaj 1 sekundę"
                                                wait 1 second
                                                if {teleport.%player%.dom} is "on":
                                                      teleport player to {dom.%player%.%arg 1%}
                                                      send "&aPrzeteleportowano do domu.
                                                      set {teleport.%player%.dom} to "off"
                  else:
                    send "&4Anulowano."
                        else:
                          send "&4Anulowano."    
                             else:
                               send "&4Anulowano."  
                                    else:
                                      send "&4Anulowano."
                                          else:
                                            send "&4Anulowano"
                                                else:
                                                  send "&4Anulowano."                                                                                              
on any move:
    if {teleport.%player%.dom} is "on":
        set {teleport.%player%.dom} to "off"

 

Odnośnik do komentarza
https://skript.pl/temat/48324-pomoc-ze-skryptem/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
46 minut temu, AdasAdasiek napisał:

Dzisaj zrobilem skrypta na sethome (wlasnego) natomiast obawialem sie ze to moze nie dzialac ;( nie dziala. 

Moze ktos doradzic co zrobilem zle?


command /sethome [<text>]:
    trigger:
        if arg 1 is not set:
            send "&4Wpisz nazwe domu"
        else:
          if player is in world "survival":
               if {dom.%player%.%arg 1%} is not set:
                  set {dom.%player%.%arg 1%} to location of player
                  send "&aStworzono dom pod nazwą &e%arg 1%&a!"
                  send "&aAby przeteleportowac sie do domu, wpisz komendę /home %arg 1%"
          else:
            send "&4Aby wykonać tą komendę musisz być na survivalu."
               else:
                 send "&4Masz juz taki dom." 
command /home [<text>]:
    trigger:
        if arg 1 is not set:
            send "&4Wpisz nazwe domu."
        else:
          if player is in world "survival":
                if {dom.%player%.%arg 1%} is not set:
                    send "&4Nie stworzyles takiego domu."
          else:
            send "&4Musisz byc na survivalu."
                else:
                  set {teleport.%player%.dom} to "on"
                  if {teleport.%player%.dom} is "on":
                        wait 1 second
                        send "&4Poczekaj 5sekund"
                        wait 1 second
                        if {teleport.%player%.dom} is "on":
                              send "&4Poczekaj 4 sekundy"
                              wait 1 second
                              if {teleport.%player%.dom} is "on":
                                    send "&4Poczekaj 3 sekundy"
                                    wait 1 second
                                    if {teleport.%player%.dom} is "on":
                                          send "&4Poczekaj 2 sekundy"
                                          wait 1 second
                                          if {teleport.%player%.dom} is "on":
                                                send "&4Poczekaj 1 sekundę"
                                                wait 1 second
                                                if {teleport.%player%.dom} is "on":
                                                      teleport player to {dom.%player%.%arg 1%}
                                                      send "&aPrzeteleportowano do domu.
                                                      set {teleport.%player%.dom} to "off"
                  else:
                    send "&4Anulowano."
                        else:
                          send "&4Anulowano."    
                             else:
                               send "&4Anulowano."  
                                    else:
                                      send "&4Anulowano."
                                          else:
                                            send "&4Anulowano"
                                                else:
                                                  send "&4Anulowano."                                                                                              
on any move:
    if {teleport.%player%.dom} is "on":
        set {teleport.%player%.dom} to "off"

 

a jest jakiś error?

Odnośnik do komentarza
https://skript.pl/temat/48324-pomoc-ze-skryptem/#findComment-301797
Udostępnij na innych stronach

  • 0
52 minuty temu, Skiuel napisał:

a jest jakiś error?

[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 15 spaces (zapis.sk, line 22: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 23: set {dom.%player%.%arg 1%} to location of player')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 24: send "&aStworzono dom pod nazw╣ &e%arg 1%&a!"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 25: send "&aAby przeteleportowac sie do domu, wpisz komendŕ /home %arg 1%"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 10 spaces (zapis.sk, line 26: else:')
[11:47:29 WARN]: 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. (zapis.sk, line 21: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 15 spaces (zapis.sk, line 28: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 17 spaces (zapis.sk, line 29: send "&4Masz juz taki dom."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 35: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 36: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 37: send "&4Nie stworzyles takiego domu."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 38: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 40: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 41: set {teleport.%player%.dom} to "on"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 42: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 43: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 44: send "&4Poczekaj 5sekund"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 45: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 46: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 47: send "&4Poczekaj 4 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 48: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 49: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 50: send "&4Poczekaj 3 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 51: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 52: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 53: send "&4Poczekaj 2 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 54: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 55: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 56: send "&4Poczekaj 1 sekundŕ"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 57: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 58: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 59: teleport player to {dom.%player%.%arg 1%}')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 60: send "&aPrzeteleportowano do domu.')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 61: set {teleport.%player%.dom} to "off"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 62: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 63: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 64: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 26 spaces (zapis.sk, line 65: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 29 spaces (zapis.sk, line 66: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 31 spaces (zapis.sk, line 67: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 68: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 38 spaces (zapis.sk, line 69: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 70: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 44 spaces (zapis.sk, line 71: send "&4Anulowano"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 72: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 50 spaces (zapis.sk, line 73: send "&4Anulowano."')
[11:47:29 INFO]: [Skript] Encountered 45 errors while reloading zapis.sk!

 

Glicz

Wstawiam kod w code.

Notatka dodana przez Glicz

Odnośnik do komentarza
https://skript.pl/temat/48324-pomoc-ze-skryptem/#findComment-301814
Udostępnij na innych stronach

  • 0
1 minutę temu, AdasAdasiek napisał:

[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 15 spaces (zapis.sk, line 22: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 23: set {dom.%player%.%arg 1%} to location of player')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 24: send "&aStworzono dom pod nazw╣ &e%arg 1%&a!"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 25: send "&aAby przeteleportowac sie do domu, wpisz komendŕ /home %arg 1%"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 10 spaces (zapis.sk, line 26: else:')
[11:47:29 WARN]: 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. (zapis.sk, line 21: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 15 spaces (zapis.sk, line 28: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 17 spaces (zapis.sk, line 29: send "&4Masz juz taki dom."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 35: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 36: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 37: send "&4Nie stworzyles takiego domu."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 38: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 40: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 41: set {teleport.%player%.dom} to "on"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 42: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 43: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 44: send "&4Poczekaj 5sekund"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 45: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 46: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 47: send "&4Poczekaj 4 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 48: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 49: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 50: send "&4Poczekaj 3 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 51: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 52: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 53: send "&4Poczekaj 2 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 54: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 55: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 56: send "&4Poczekaj 1 sekundŕ"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 57: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 58: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 59: teleport player to {dom.%player%.%arg 1%}')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 60: send "&aPrzeteleportowano do domu.')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 61: set {teleport.%player%.dom} to "off"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 62: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 63: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 64: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 26 spaces (zapis.sk, line 65: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 29 spaces (zapis.sk, line 66: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 31 spaces (zapis.sk, line 67: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 68: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 38 spaces (zapis.sk, line 69: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 70: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 44 spaces (zapis.sk, line 71: send "&4Anulowano"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 72: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 50 spaces (zapis.sk, line 73: send "&4Anulowano."')
[11:47:29 INFO]: [Skript] Encountered 45 errors while reloading zapis.sk!

Jak sam błąd wskazuję, źle użyłeś spacji popraw je.

Edytowane przez Jaczup
Odnośnik do komentarza
https://skript.pl/temat/48324-pomoc-ze-skryptem/#findComment-301815
Udostępnij na innych stronach

  • 0
1 minutę temu, AdasAdasiek napisał:

[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 15 spaces (zapis.sk, line 22: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 23: set {dom.%player%.%arg 1%} to location of player')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 24: send "&aStworzono dom pod nazw╣ &e%arg 1%&a!"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 25: send "&aAby przeteleportowac sie do domu, wpisz komendŕ /home %arg 1%"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 10 spaces (zapis.sk, line 26: else:')
[11:47:29 WARN]: 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. (zapis.sk, line 21: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 15 spaces (zapis.sk, line 28: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 17 spaces (zapis.sk, line 29: send "&4Masz juz taki dom."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 35: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 36: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 37: send "&4Nie stworzyles takiego domu."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 38: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 40: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 41: set {teleport.%player%.dom} to "on"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 42: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 43: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 44: send "&4Poczekaj 5sekund"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 45: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 46: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 47: send "&4Poczekaj 4 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 48: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 49: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 50: send "&4Poczekaj 3 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 51: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 52: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 53: send "&4Poczekaj 2 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 54: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 55: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 56: send "&4Poczekaj 1 sekundŕ"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 57: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 58: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 59: teleport player to {dom.%player%.%arg 1%}')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 60: send "&aPrzeteleportowano do domu.')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 61: set {teleport.%player%.dom} to "off"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 62: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 63: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 64: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 26 spaces (zapis.sk, line 65: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 29 spaces (zapis.sk, line 66: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 31 spaces (zapis.sk, line 67: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 68: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 38 spaces (zapis.sk, line 69: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 70: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 44 spaces (zapis.sk, line 71: send "&4Anulowano"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 72: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 50 spaces (zapis.sk, line 73: send "&4Anulowano."')
[11:47:29 INFO]: [Skript] Encountered 45 errors while reloading zapis.sk!

No to masz po prostu źle wytabowany kod

Odnośnik do komentarza
https://skript.pl/temat/48324-pomoc-ze-skryptem/#findComment-301816
Udostępnij na innych stronach

  • 0
1 minutę temu, AdasAdasiek napisał:

[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 15 spaces (zapis.sk, line 22: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 23: set {dom.%player%.%arg 1%} to location of player')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 24: send "&aStworzono dom pod nazw╣ &e%arg 1%&a!"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 18 spaces (zapis.sk, line 25: send "&aAby przeteleportowac sie do domu, wpisz komendŕ /home %arg 1%"')
[11:47:29 ERROR]: indentation error: expected 16 spaces, but found 10 spaces (zapis.sk, line 26: else:')
[11:47:29 WARN]: 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. (zapis.sk, line 21: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 15 spaces (zapis.sk, line 28: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 17 spaces (zapis.sk, line 29: send "&4Masz juz taki dom."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 35: if player is in world "survival":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 36: if {dom.%player%.%arg 1%} is not set:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 37: send "&4Nie stworzyles takiego domu."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (zapis.sk, line 38: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (zapis.sk, line 40: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 41: set {teleport.%player%.dom} to "on"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 42: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 43: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 44: send "&4Poczekaj 5sekund"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 45: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 46: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 47: send "&4Poczekaj 4 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 48: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 30 spaces (zapis.sk, line 49: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 50: send "&4Poczekaj 3 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 51: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 52: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 53: send "&4Poczekaj 2 sekundy"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 54: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 55: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 56: send "&4Poczekaj 1 sekundŕ"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 57: wait 1 second')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 58: if {teleport.%player%.dom} is "on":')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 59: teleport player to {dom.%player%.%arg 1%}')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 60: send "&aPrzeteleportowano do domu.')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 54 spaces (zapis.sk, line 61: set {teleport.%player%.dom} to "off"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 18 spaces (zapis.sk, line 62: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 20 spaces (zapis.sk, line 63: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 24 spaces (zapis.sk, line 64: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 26 spaces (zapis.sk, line 65: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 29 spaces (zapis.sk, line 66: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 31 spaces (zapis.sk, line 67: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 36 spaces (zapis.sk, line 68: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 38 spaces (zapis.sk, line 69: send "&4Anulowano."')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 42 spaces (zapis.sk, line 70: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 44 spaces (zapis.sk, line 71: send "&4Anulowano"')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 48 spaces (zapis.sk, line 72: else:')
[11:47:29 ERROR]: indentation error: expected 12 spaces, but found 50 spaces (zapis.sk, line 73: send "&4Anulowano."')
[11:47:29 INFO]: [Skript] Encountered 45 errors while reloading zapis.sk!

 

Skrypt jest źle wytabowany. Popraw taby/spacje.

Odnośnik do komentarza
https://skript.pl/temat/48324-pomoc-ze-skryptem/#findComment-301817
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

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