Skocz do zawartości
  • 0

Wytabuje ktos? bo ja idk jak dobrze


Pytanie

variables:
    {kolejka} = false

command /kolejka [<text>]:
    trigger:
        if arg-1 is "on":
            send player title "&6[KOLEJKA]" with subtitle "&aWlaczyles kolejke!" for 5 seconds
            set {kolejka} to true
        if arg-1 is "off":
            send player title "&6[KOLEJKA]" with subtitle "&cWylaczyles kolejke!" for 5 seconds
            set {kolejka} to false
command /akt:
    trigger:
    send "%{kolejka}%" to player
    
command /sprawdzbota:
    trigger:
            send player title "&6[BOTY]" with subtitle "&aSprawdzanie botow...!" for 5 seconds
            wait 5 seconds
                loop all players:
                if loop-player's name contains "proxy":
            kick loop-player due to "&cWykryto bota! V-AntyBot"
            send player title "&6[BOTY]" with subtitle "&aZnaleziono boty!" for 5 seconds
            wait 5 seconds
            send player title "&6[BOTY]" with subtitle "&aKickowanie botow...!" for 5 seconds
            wait 5 seconds
            send player title "&6[BOTY]" with subtitle "&aPomyslnie wykickowano wszystkie boty!" for 5 seconds

 

Edytowane przez Wojciu
Odnośnik do komentarza
https://skript.pl/temat/39800-wytabuje-ktos-bo-ja-idk-jak-dobrze/
Udostępnij na innych stronach

13 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

chyba tylko 1 bylo zle: 

variables:
    {kolejka} = false

command /kolejka [<text>]:
    trigger:
        if arg-1 is "on":
            send player title "&6[KOLEJKA]" with subtitle "&aWlaczyles kolejke!" for 5 seconds
            set {kolejka} to true
        if arg-1 is "off":
            send player title "&6[KOLEJKA]" with subtitle "&cWylaczyles kolejke!" for 5 seconds
            set {kolejka} to false
command /akt:
    trigger:
        send "%{kolejka}%" to player
    
command /sprawdzbota:
    trigger:
        send player title "&6[BOTY]" with subtitle "&aSprawdzanie botow...!" for 5 seconds
        wait 5 seconds
            loop all players:
                if loop-player's name contains "proxy":
                    kick loop-player due to "&cWykryto bota! V-AntyBot"
                    send player title "&6[BOTY]" with subtitle "&aZnaleziono boty!" for 5 seconds
                    wait 5 seconds
                    send player title "&6[BOTY]" with subtitle "&aKickowanie botow...!" for 5 seconds
                    wait 5 seconds
                    send player title "&6[BOTY]" with subtitle "&aPomyslnie wykickowano wszystkie boty!" for 5 seconds

 

Edytowane przez Wojciu
Odnośnik do komentarza
https://skript.pl/temat/39800-wytabuje-ktos-bo-ja-idk-jak-dobrze/#findComment-249304
Udostępnij na innych stronach

  • 0
1 minutę temu, Jasiek_ napisał:

chyba tylko 1 bylo zle: 

 

 

variables:
    {kolejka} = false

command /kolejka [<text>]:
    trigger:
        if arg-1 is "on":
            send player title "&6[KOLEJKA]" with subtitle "&aWlaczyles kolejke!" for 5 seconds
            set {kolejka} to true
        if arg-1 is "off":
            send player title "&6[KOLEJKA]" with subtitle "&cWylaczyles kolejke!" for 5 seconds
            set {kolejka} to false
command /akt:
    trigger:
        send "%{kolejka}%" to player
    
command /sprawdzbota:
    trigger:
        send player title "&6[BOTY]" with subtitle "&aSprawdzanie botow...!" for 5 seconds
        wait 5 seconds
            loop all players:
                if loop-player's name contains "proxy":
                    kick loop-player due to "&cWykryto bota! V-AntyBot"
                    send player title "&6[BOTY]" with subtitle "&aZnaleziono boty!" for 5 seconds
                    wait 5 seconds
                    send player title "&6[BOTY]" with subtitle "&aKickowanie botow...!" for 5 seconds
                    wait 5 seconds
                    send player title "&6[BOTY]" with subtitle "&aPomyslnie wykickowano wszystkie boty!" for 5 seconds

10 error zamiast 11 kogz

 

Odnośnik do komentarza
https://skript.pl/temat/39800-wytabuje-ktos-bo-ja-idk-jak-dobrze/#findComment-249306
Udostępnij na innych stronach

  • 0
W dniu 11.06.2020 o 21:17, Jasiek_ napisał:

mozesz mi to wyslac plz?


 
[21:18:20 ERROR]: indentation error: expected 0 tabs, but found 1 space (kolejka.sk, line 1: variables:')
[21:18:20 ERROR]: indentation error: expected 0 tabs, but found 4 spaces (kolejka.sk, line 2: {kolejka} = false')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kolejka.sk, line 20: loop all players:')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 16 spaces (kolejka.sk, line 21: if loop-player's name contains "proxy":')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 20 spaces (kolejka.sk, line 22: kick loop-player due to "&cWykryto bota! V-AntyBot"')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 20 spaces (kolejka.sk, line 23: send player title "&6[BOTY]" with subtitle "&aZnaleziono boty!" for 5 seconds')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 20 spaces (kolejka.sk, line 24: wait 5 seconds')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 20 spaces (kolejka.sk, line 25: send player title "&6[BOTY]" with subtitle "&aKickowanie botow...!" for 5 seconds')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 20 spaces (kolejka.sk, line 26: wait 5 seconds')
[21:18:20 ERROR]: indentation error: expected 8 spaces, but found 20 spaces (kolejka.sk, line 27: send player title "&6[BOTY]" with subtitle "&aPomyslnie wykickowano wszystkie boty!" for 5 seconds')

 

 
Edytowane przez Wojciu
Odnośnik do komentarza
https://skript.pl/temat/39800-wytabuje-ktos-bo-ja-idk-jak-dobrze/#findComment-249309
Udostępnij na innych stronach

  • 0
W dniu 11.06.2020 o 21:22, Medyk324 napisał:

Linijki?


 
[21:23:07 ERROR]: indentation error: expected 24 spaces, but found 20 spaces (kolejka.sk, line 8: send player title "&6[KOLEJKA]" with subtitle "&aWlaczyles kolejke!" for 5 seconds')
[21:23:07 ERROR]: indentation error: expected 24 spaces, but found 20 spaces (kolejka.sk, line 9: set {kolejka} to true')
[21:23:07 ERROR]: indentation error: expected 24 spaces, but found 20 spaces (kolejka.sk, line 11: send player title "&6[KOLEJKA]" with subtitle "&cWylaczyles kolejke!" for 5 seconds')
[21:23:07 ERROR]: indentation error: expected 24 spaces, but found 20 spaces (kolejka.sk, line 12: set {kolejka} to false')
[21:23:07 ERROR]: indentation error: expected 16 spaces, but found 12 spaces (kolejka.sk, line 15: send "%{kolejka}%" to player')
[21:23:07 ERROR]: indentation error: expected 24 spaces, but found 20 spaces (kolejka.sk, line 22: if loop-player's name contains "proxy":')

 

Edytowane przez Wojciu
Odnośnik do komentarza
https://skript.pl/temat/39800-wytabuje-ktos-bo-ja-idk-jak-dobrze/#findComment-249312
Udostępnij na innych stronach

  • 0
15 minut temu, Nelczuss napisał:

variables:
    {kolejka} = false

command /kolejka [<text>]:
    trigger:
        if arg-1 is "on":
            send player title "&6[KOLEJKA]" with subtitle "&aWlaczyles kolejke!" for 5 seconds
            set {kolejka} to true
        if arg-1 is "off":
            send player title "&6[KOLEJKA]" with subtitle "&cWylaczyles kolejke!" for 5 seconds
            set {kolejka} to false
command /akt:
    trigger:
    send "%{kolejka}%" to player
    
command /sprawdzbota:
    trigger:
            send player title "&6[BOTY]" with subtitle "&aSprawdzanie botow...!" for 5 seconds
            wait 5 seconds
                loop all players:
                if loop-player's name contains "proxy":
            kick loop-player due to "&cWykryto bota! V-AntyBot"
            send player title "&6[BOTY]" with subtitle "&aZnaleziono boty!" for 5 seconds
            wait 5 seconds
            send player title "&6[BOTY]" with subtitle "&aKickowanie botow...!" for 5 seconds
            wait 5 seconds
            send player title "&6[BOTY]" with subtitle "&aPomyslnie wykickowano wszystkie boty!" for 5 seconds

 

Odnośnik do komentarza
https://skript.pl/temat/39800-wytabuje-ktos-bo-ja-idk-jak-dobrze/#findComment-249313
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ę...