Skocz do zawartości
  • 0

Komenda na dawanie pierożka...


Pytanie

Oto Moj Skrypt:

command /daj pierozek [<text>] [<text>]:
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                add %arg1% dragon egg named "&5Pandora's Box" to %arg2%
        if arg 1 is set:
            if arg 2 is not set:
                send "&4&lPodaj Nick!"
        if arg 1 is not set:
            send "&4&lPodaj Ilosc"

Problem w tym że jak wpisuje /daj pierozek 1 ejer , to nic sie nie dzieje

Odnośnik do komentarza
https://skript.pl/temat/13310-komenda-na-dawanie-piero%C5%BCka/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /pierog [<integer>] [<text>]:
	trigger:
		if arg 1 is set:
			if arg 2 is set:
				set {_} to arg 1
				give {_} of dragon egg named "&5Pandora's Box" to arg 2
 			else:
				send "&4&lPodaj Nick!"
		else:
			send "&4&lPodaj ilosc"

Jeśli nie zadziała podaj skopiuj błędy

//edit Poprawiłem, bo się używa "give" a nie "add"

Odnośnik do komentarza
https://skript.pl/temat/13310-komenda-na-dawanie-piero%C5%BCka/#findComment-93091
Udostępnij na innych stronach

  • 0
 command /pierog [<integer>] [<text>]:
	trigger:
		if arg-1 is set:
			if arg-2 is set:
				set {_} to arg-1
				give {_} of dragon egg named "&5Pandora's Box" to arg-2
 			else:
				send "&4&lPodaj Nick!"
		else:
			send "&4&lPodaj ilosc"
Odnośnik do komentarza
https://skript.pl/temat/13310-komenda-na-dawanie-piero%C5%BCka/#findComment-93110
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ę...