RadekTv 2 Opublikowano 20 maja 2021 Udostępnij Opublikowano 20 maja 2021 Witam czy jest możliwość dodania do tego opcji rozpoznawania reklamy na msg? Z góry dziękuję za wszelką pomoc Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Skiuel 18 Opublikowano 20 maja 2021 Udostępnij Opublikowano 20 maja 2021 (edytowane) 19 minut temu, RadekTv napisał: Witam czy jest możliwość dodania do tego opcji rozpoznawania reklamy na msg? Z góry dziękuję za wszelką pomoc Powinno działać: on command "msg" or "r": if "%full command%" contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://": cancel event loop all players: if loop-player has permission "anty.reklama": send "" send "&8============================" to loop-player send "&7->&c&l Prawdopodobnie" to loop-player send "&7->&c&l Wykryto Reklame!" to loop-player send "&7->&c Gracz&4 %player%&c." to loop-player send "&7->&c Napisal:&4 %message%&c." to loop-player send "&8============================" to loop-player send "" Nie wiem czemu widzę ten kod jakby nie było taba po loop all players ale jak się wkleja to wszystko jest git. Edytowane 20 maja 2021 przez Skiuel Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304103 Udostępnij na innych stronach Więcej opcji udostępniania...
0 RadekTv 2 Opublikowano 20 maja 2021 Autor Udostępnij Opublikowano 20 maja 2021 (edytowane) 18 minut temu, Skiuel napisał: Nie wiem czemu widzę ten kod jakby nie było taba po loop all players ale jak się wkleja to wszystko jest git. Właśnie problem był gdy wrzucałem tam tego taba Wtedy skrypt się wysypywał... Co do reszty to niby jest git bo działa ale jest error i nie wyświetla 25 linijki skryptu [23:32:07 INFO]: [Skript] Reloading anty-reklama.sk... [23:32:07 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. (anty-reklama.sk, line 16: if "%full command%" contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:32:08 WARN]: the full command is already a text, so you should not put it in one (e.g. the full command instead of "%the full command%") (anty-reklama.sk, line 16: if "%full command%" contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:32:08 ERROR]: The chat message can only be used in a chat event (anty-reklama.sk, line 25: send "&7->&c Napisal:&4 %message%&c." to loop-player') [23:32:08 INFO]: [Skript] Encountered 1 error while reloading anty-reklama.sk! [23:32:44 INFO]: RadekTv issued server command: /msg RadekTv siema.com Edytowane 20 maja 2021 przez RadekTv Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304107 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Skiuel 18 Opublikowano 20 maja 2021 Udostępnij Opublikowano 20 maja 2021 (edytowane) 3 minuty temu, RadekTv napisał: Właśnie problem był gdy wrzucałem tam tego taba Wtedy skrypt się wysypywał... Co do reszty to niby jest git bo działa ale jest error i nie wyświetla 25 linijki skryptu [23:32:07 INFO]: [Skript] Reloading anty-reklama.sk... [23:32:07 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. (anty-reklama.sk, line 16: if "%full command%" contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:32:08 WARN]: the full command is already a text, so you should not put it in one (e.g. the full command instead of "%the full command%") (anty-reklama.sk, line 16: if "%full command%" contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:32:08 ERROR]: The chat message can only be used in a chat event (anty-reklama.sk, line 25: send "&7->&c Napisal:&4 %message%&c." to loop-player') [23:32:08 INFO]: [Skript] Encountered 1 error while reloading anty-reklama.sk! [23:32:44 INFO]: RadekTv issued server command: /msg RadekTv siema.com on command "msg" or "r": if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://": cancel event loop all players: if loop-player has permission "anty.reklama": send "" send "&8============================" to loop-player send "&7->&c&l Prawdopodobnie" to loop-player send "&7->&c&l Wykryto Reklame!" to loop-player send "&7->&c Gracz&4 %player%&c." to loop-player send "&7->&c Napisal:&4 %full command%&c." to loop-player send "&8============================" to loop-player send "" Nie zamieniłem message na full command ten kod powinien już być git Edytowane 20 maja 2021 przez Skiuel RadekTv 1 Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304108 Udostępnij na innych stronach Więcej opcji udostępniania...
0 RadekTv 2 Opublikowano 20 maja 2021 Autor Udostępnij Opublikowano 20 maja 2021 6 minut temu, Skiuel napisał: Nie zamieniłem message na full command ten kod powinien już być git Teraz wygląda to tak [23:43:24 INFO]: [Skript] Reloading anty-reklama.sk... [23:43:24 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. (anty-reklama.sk, line 15: on command "msg" or "r":') [23:43:24 ERROR]: can't understand this event: 'if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://"' (anty-reklama.sk, line 16: if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:43:24 INFO]: [Skript] Encountered 1 error while reloading anty-reklama.sk! [23:44:00 INFO]: RadekTv issued server command: /msg RadekTv https:// I zastanawiam się czy może nie brakuje mi jakiegoś dodatkowego pluginu do skriptu żeby mi to działało? Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304109 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Skiuel 18 Opublikowano 20 maja 2021 Udostępnij Opublikowano 20 maja 2021 4 minuty temu, RadekTv napisał: Teraz wygląda to tak [23:43:24 INFO]: [Skript] Reloading anty-reklama.sk... [23:43:24 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. (anty-reklama.sk, line 15: on command "msg" or "r":') [23:43:24 ERROR]: can't understand this event: 'if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://"' (anty-reklama.sk, line 16: if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:43:24 INFO]: [Skript] Encountered 1 error while reloading anty-reklama.sk! [23:44:00 INFO]: RadekTv issued server command: /msg RadekTv https:// I zastanawiam się czy może nie brakuje mi jakiegoś dodatkowego pluginu do skriptu żeby mi to działało? nie masz : albo coś źle wytabowałeś bo skript pomyślał że full command contains to event Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304110 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Skiuel 18 Opublikowano 20 maja 2021 Udostępnij Opublikowano 20 maja 2021 6 minut temu, RadekTv napisał: Teraz wygląda to tak [23:43:24 INFO]: [Skript] Reloading anty-reklama.sk... [23:43:24 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. (anty-reklama.sk, line 15: on command "msg" or "r":') [23:43:24 ERROR]: can't understand this event: 'if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://"' (anty-reklama.sk, line 16: if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://":') [23:43:24 INFO]: [Skript] Encountered 1 error while reloading anty-reklama.sk! [23:44:00 INFO]: RadekTv issued server command: /msg RadekTv https:// I zastanawiam się czy może nie brakuje mi jakiegoś dodatkowego pluginu do skriptu żeby mi to działało? nie jest to wina dodatku Na pewno skopiowałeś i wkleiłeś cały kod ? Nie edytowałeś nic ? Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304111 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Skiuel 18 Opublikowano 20 maja 2021 Udostępnij Opublikowano 20 maja 2021 Tak powinien końcowo wyglądać kod: on chat: message contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://": cancel event loop all players: if loop-player has permission "anty.reklama": send "" send "&8============================" to loop-player send "&7->&c&l Prawdopodobnie" to loop-player send "&7->&c&l Wykryto Reklame!" to loop-player send "&7->&c Gracz&4 %player%&c." to loop-player send "&7->&c Napisal:&4 %message%&c." to loop-player send "&8============================" to loop-player send "" on command "msg" or "r": if full command contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or ".serv.nu" or ".topcraft" or ".hiplay" or "https://" or "http://": cancel event loop all players: if loop-player has permission "anty.reklama": send "" send "&8============================" to loop-player send "&7->&c&l Prawdopodobnie" to loop-player send "&7->&c&l Wykryto Reklame!" to loop-player send "&7->&c Gracz&4 %player%&c." to loop-player send "&7->&c Napisal:&4 %full command%&c." to loop-player send "&8============================" to loop-player send "" Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304112 Udostępnij na innych stronach Więcej opcji udostępniania...
0 RadekTv 2 Opublikowano 20 maja 2021 Autor Udostępnij Opublikowano 20 maja 2021 2 minuty temu, Skiuel napisał: nie masz : albo coś źle wytabowałeś bo skript pomyślał że full command contains to event I tu mnie masz było źle wytabowane. Dzięki za pomoc! Skiuel 1 Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304113 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Gość Usunięty#25876 Opublikowano 21 maja 2021 Udostępnij Opublikowano 21 maja 2021 Problem został rozwiązany. Odnośnik do komentarza https://skript.pl/temat/48834-anty-reklama-na-msg/#findComment-304128 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
RadekTv 2
Witam czy jest możliwość dodania do tego opcji rozpoznawania reklamy na msg?
Z góry dziękuję za wszelką pomoc
Odnośnik do komentarza
https://skript.pl/temat/48834-anty-reklama-na-msg/Udostępnij na innych stronach
9 odpowiedzi na to pytanie
Rekomendowane odpowiedzi