Skocz do zawartości
  • 0

Otwieranie netheru w danych momentach


Pytanie

Siema! Moje pytanie jest następujące: Czy mógłby ktoś napisać mi skrypt, dzięki któremu nether będzie się otwierał o 12, a zamykał o 20? Do tego żeby na czacie pojawiały się wiadomości.. Są w necie takie skrypty, jednak mi nie działają.

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/
Udostępnij na innych stronach

13 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Juz się biorę. Edytuj w tego posta gdy napisze.

 

http://pastebin.com/HxeGZ7k0

 

Nie testowane ;) Jeśli będą jakieś błędy pisz :P Postaram się naprawić. (Mogą się zdarzyć bo bawię się skryptami od 3 dni :) )

Edytowane przez MrAnvilPlay
Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50511
Udostępnij na innych stronach

  • 0

Juz się biorę. Edytuj w tego posta gdy napisze.

 

http://pastebin.com/HxeGZ7k0

 

Nie testowane ;) Jeśli będą jakieś błędy pisz :p Postaram się naprawić. (Mogą się zdarzyć bo bawię się skryptami od 3 dni :) )

Ogólnie nie czaje skryptów, ale jak to działa? Nie będzie można wchodzić przez portal do netheru? 

Błędy:

[18:20:34 ERROR]: 'lesser than 12' is not an entity type (dsa.sk, line 4: if "%now%" is lesser than 12:')

[18:20:34 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (dsa.sk, line 7: else if "%now%" is greater than 20:')

[18:20:34 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (dsa.sk, line 10: else:')

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50519
Udostępnij na innych stronach

  • 0

Nie będzie można wchodzić do portalu ;)

A co do błędów to już się nimi zajmuje :)

 

http://pastebin.com/dyHRvffx

 

Teraz?

[18:38:22 INFO]: [skript] Reloading the config and all scripts...

[18:38:22 INFO]: Loaded a total of 11504 english aliases

[18:38:23 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. (dsa.sk, line 2: msg:#Tutaj wstaw swoj? wiadomo??')

[18:38:23 ERROR]: invalid line in options (dsa.sk, line 2: msg:#Tutaj wstaw swoj? wiadomo??')

[18:38:23 ERROR]: '%now%' is not an entity type (dsa.sk, line 4: if %now% is less than 12:')

[18:38:23 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (dsa.sk, line 7: else if %now% is greater than 20:')

[18:38:23 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (dsa.sk, line 10: else:')

[18:38:23 INFO]: Loaded 7 scripts with a total of 10 triggers and 8 commands in 0.86 seconds

[18:38:23 INFO]: [skript] Encountered 4 errors while reloading the config and all scripts!

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50525
Udostępnij na innych stronach

  • 0

Kurde :/ Weź te %now% zamień na "%now%" jeśli nie będzie działać to tu: http://pastebin.com/27gwY2hu masz inną wersję :) Jeśli nadal wystąpią błędy poproszę kogoś na SB o pomoc

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50527
Udostępnij na innych stronach

  • 0

Kurde :/ Weź te %now% zamień na "%now%" jeśli nie będzie działać to tu: http://pastebin.com/27gwY2hu masz inną wersję :) Jeśli nadal wystąpią błędy poproszę kogoś na SB o pomoc

Stary skript:

[18:49:03 INFO]: [skript] Reloading the config and all scripts...

[18:49:03 INFO]: Loaded a total of 11504 english aliases

[18:49:03 ERROR]: 'less than 12' is not an entity type (dsa.sk, line 4: if "%now%" is less than 12:')

[18:49:03 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (dsa.sk, line 7: else if "%now%" is greater than 20:')

[18:49:03 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (dsa.sk, line 10: else:')

[18:49:04 INFO]: Loaded 7 scripts with a total of 10 triggers and 8 commands in 0.61 seconds

 

 

Nowy skript: 

[18:49:56 INFO]: [skript] Reloading the config and all scripts...

[18:49:56 INFO]: Loaded a total of 11504 english aliases

[18:49:56 ERROR]: '12 but greater than 20' is not an entity type (dsa.sk, line 5: if "%now%" is less than 12 but greater than 20:')

[18:49:56 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (dsa.sk, line 8: else:')

[18:49:56 INFO]: Loaded 7 scripts with a total of 10 triggers and 8 commands in 0.63 seconds

[18:49:56 INFO]: [skript] Encountered 2 errors while reloading the config and all scripts!

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50530
Udostępnij na innych stronach

  • 0

nie wiem czemu jest problem z tym else: :/  

w lini 5 zmien but na and. Powinno załatwić problem. else powinno być po if. czyli w tej samej lini. Nie rozumiem błędu bo jest dobrze

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50531
Udostępnij na innych stronach

  • 0

nie wiem czemu jest problem z tym else: :/

w lini 5 zmien but na and. Powinno załatwić problem. else powinno być po if. czyli w tej samej lini. Nie rozumiem błędu bo jest dobrze

[19:01:25 INFO]: [skript] Reloading the config and all scripts...

[19:01:25 INFO]: Loaded a total of 11504 english aliases

[19:01:25 ERROR]: '"%now%" is less than 12 and greater than 20' is not a boolean (yes/no) (dsa.sk, line 5: if "%now%" is less than 12 and greater than 20:')

[19:01:25 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (dsa.sk, line 8: else:')

[19:01:25 INFO]: Loaded 7 scripts with a total of 10 triggers and 8 commands in 0.34 seconds

[19:01:25 INFO]: [skript] Encountered 2 errors while reloading the config and all scripts!

Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-50532
Udostępnij na innych stronach

  • 0

Zobacz sobie mój skrypt na nether. Ten on/off. W nim jest ustawione ze jak ktoś jest w piekle to nie może użyć komendy innej niż spawn. Jedynie musisz zmienić to if {nether} is fale na if {twoja zmienna czasu} is no 12 or 13 itd

Edytowane przez MrAnvilPlay
Odnośnik do komentarza
https://skript.pl/temat/6147-otwieranie-netheru-w-danych-momentach/#findComment-51043
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ę...