Witam!
Mam problem z moim skryptem. Kod podaje niżej:
command /test1 [<text>] [<text>]:
trigger:
if arg-1 is set:
if arg-2 is set:
if arg-2 is "%arg-1%":
send "test1"
Chciałem zrobić tak tą komendę, że gdy się wpisze /test1 testto w drugim argumencie trzeba to samo powtórzyć co w pierwszym. Błąd w konsoli powyższego kodu:
the 1st argument is already a text, so you should not put it in one (e.g. the 1st argument instead of "%the 1st argument%") (test1.sk, line 5: if arg-2 is "%arg-1%":')
Pytanie
fiXed 0
Witam!
Mam problem z moim skryptem. Kod podaje niżej:
Chciałem zrobić tak tą komendę, że gdy się wpisze /test1 test to w drugim argumencie trzeba to samo powtórzyć co w pierwszym. Błąd w konsoli powyższego kodu:
the 1st argument is already a text, so you should not put it in one (e.g. the 1st argument instead of "%the 1st argument%") (test1.sk, line 5: if arg-2 is "%arg-1%":')Pozdro!
Odnośnik do komentarza
https://skript.pl/temat/47137-problem-z-kodem/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi