Skocz do zawartości
  • 0

Skript na bany/tempbany/mute/warn


Pytanie

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Godzinę temu, xAxee napisał:

To podaj błędy któregoś z tych skryptów . Każdy taki skrypt działa prawie na tej samej zasadzie. 

Przykladowo dla mnie jeden z lepszych sk admintools:

[12:43:53 ERROR]: can't understand this condition: 'folder "plugins/AdminTool" doesn't exists' (bany.sk, line 12: if folder "plugins/AdminTool" doesn't exists:')
[12:43:53 ERROR]: can't understand this condition: 'folder "plugins/AdminTool/Bans" doesn't exists' (bany.sk, line 14: if folder "plugins/AdminTool/Bans" doesn't exists:')
[12:43:53 ERROR]: can't understand this condition: 'folder "plugins/AdminTool/Muted" doesn't exists' (bany.sk, line 16: if folder "plugins/AdminTool/Muted" doesn't exists:')
[12:43:53 ERROR]: Can't understand this expression: 'content of file "plugins/Skript/scripts/%script%.sk"' (bany.sk, line 20: set {_version} to content of file "plugins/Skript/scripts/%script%.sk"')
[12:43:53 ERROR]: Can't understand this expression: 'result of connect to "http://pastebin.com/raw/cKPsVv7m"' (bany.sk, line 25: set {_version} to result of connect to "http://pastebin.com/raw/cKPsVv7m"')
[12:43:53 ERROR]: can't understand this condition: 'file "plugins/AdminTool/Bans/%offlineplayer-arg%.yml" doesn't exists' (bany.sk, line 44: if file "plugins/AdminTool/Bans/%offlineplayer-arg%.yml" doesn't exists:')
[12:43:53 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (bany.sk, line 66: else:')
[12:43:53 ERROR]: can't understand this condition: 'file "plugins/AdminTool/Bans/%offlineplayer-arg%.yml" doesn't exists' (bany.sk, line 76: if file "plugins/AdminTool/Bans/%offlineplayer-arg%.yml" doesn't exists:')
[12:43:53 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (bany.sk, line 101: else:')
[12:43:53 ERROR]: can't understand this condition: 'file "plugins/AdminTool/Bans/%offlineplayer-arg%.yml" exists' (bany.sk, line 115: if file "plugins/AdminTool/Bans/%offlineplayer-arg%.yml" exists:')
[12:43:53 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (bany.sk, line 125: else:')
[12:43:53 ERROR]: can't understand this condition: 'file "plugins/AdminTool/Muted/%offlineplayer-arg%.yml" doesn't exists' (bany.sk, line 156: if file "plugins/AdminTool/Muted/%offlineplayer-arg%.yml" doesn't exists:')
[12:43:53 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (bany.sk, line 183: else:')
[12:43:53 ERROR]: can't understand this condition: 'file "plugins/AdminTool/Muted/%offlineplayer-arg%.yml" exists' (bany.sk, line 196: if file "plugins/AdminTool/Muted/%offlineplayer-arg%.yml" exists:')
[12:43:53 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (bany.sk, line 200: else:')
[12:43:53 ERROR]: Can't understand this condition/effect: download from "http://pastebin.com/raw/cKPsVv7m" to "plugins/Skript/scripts/%script%.sk" (bany.sk, line 267: download from "http://pastebin.com/raw/cKPsVv7m" to "plugins/Skript/scripts/%script%.sk"')
[12:43:53 ERROR]: Can't understand this condition/effect: delete file "plugins/AdminTool/Bans/%loop-value%.yml" (bany.sk, line 288: delete file "plugins/AdminTool/Bans/%loop-value%.yml"')
[12:43:53 ERROR]: Can't understand this condition/effect: delete file "plugins/AdminTool/Muted/%loop-value%.yml" (bany.sk, line 294: delete file "plugins/AdminTool/Muted/%loop-value%.yml"')
[12:43:53 ERROR]: can't understand this condition: 'file "plugins/AdminTool/Bans/%player%.yml" exists' (bany.sk, line 297: if file "plugins/AdminTool/Bans/%player%.yml" exists:')
[12:43:53 INFO]: [Skript] Encountered 19 errors while reloading bany.sk!
[12:43:55 INFO]: [AdminTool] Skrypt zaladowany
 
Edytowane przez HeezQ
HeezQ

Poprawiam formatowanie na ciemnym stylu

Notatka dodana przez HeezQ

Odnośnik do komentarza
https://skript.pl/temat/34278-skript-na-banytempbanymutewarn/#findComment-220660
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ę...