Skocz do zawartości
  • 0

Auto eq


PakerP

Pytanie

Kto wie jak zrobic aby dawalo tez miecz zelazny sharp 5 , koxa i 3 refy??

Tam po equip jakies give czy jak ?? bo komenda daje seta normalnie.

 

command /aset [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.aset":
            if arg 1 is set:
                equip arg 1 with all iron armour of protection 4, unbreaking 1
                stop
                
            else:
                send "&7>> &cPoprawne uzycie:&7/aset <gracz>"
                stop

 

i jeszcze jak po argumencie w /spawn tam gdzie teleportuje gracza na {spawn::pierwszy} wywolac komende w tym skripcie dla gracza ( komende /aset)

 

command /spawn1 [<text>]:
    trigger:
        if player has permission "pakcore.spawn":
            set {spawn::pierwszy} to location of player
            send "&7>> &aPomyslnie ustawiles spawn (POS1)."
            stop
            
            
command /spawn2 [<text>]:
        if player has permission "pakcore.spawn":
            set {spawn::drugi} to location of player
            send "&7>> &aPomyslnie ustawiles spawn (POS2)."
            stop
            
           
command /spawn [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.spawn":
            if arg 1 is set:
                if arg 2 is "1":
                    teleport arg 1 to {spawn::pierwszy}
                    stop
                if arg 2 is "2":
                    teleport arg 1 to {spawn::drugi}
                    stop

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/
Udostępnij na innych stronach

11 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
12 minut temu, xAxee napisał:

Wut?

jak teleportuje w tej komendzie :

command /spawn [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.spawn":
            if arg 1 is set:
                if arg 2 is "1":
                    teleport arg 1 to {spawn::pierwszy}
                    stop
                if arg 2 is "2":
                    teleport arg 1 to {spawn::drugi}
                    stop

 

to niech po teleportacji wywoluje komende /aset dla gracza

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180720
Udostępnij na innych stronach

  • 0
command /spawn [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.spawn":
            if arg 1 is set:
                if arg 2 is "1":
                    teleport arg 1 to {spawn::pierwszy}
                    execute player command "aset"
                    stop
                if arg 2 is "2":
                    teleport arg 1 to {spawn::drugi}
                    execute player command "aset"
                    stop

 

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180721
Udostępnij na innych stronach

  • 0
9 minut temu, xAxee napisał:

command /spawn [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.spawn":
            if arg 1 is set:
                if arg 2 is "1":
                    teleport arg 1 to {spawn::pierwszy}
                    execute player command "aset"
                    stop
                if arg 2 is "2":
                    teleport arg 1 to {spawn::drugi}
                    execute player command "aset"
                    stop

 

nie dziala...

wyskakuje na chacie ze zle wytabowane.

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180722
Udostępnij na innych stronach

  • 0
command /aset [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.aset":
            if arg 1 is set:
                add iron sword of sharpness 5
                add enchanted golden apple
                add 3 golden apple
                equip arg 1 with all iron armour of protection 4, unbreaking 1
                stop
                
            else:
                send "&7>> &cPoprawne uzycie:&7/aset <gracz>"
                stop

 

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180725
Udostępnij na innych stronach

  • 0
53 minuty temu, VIPEQ napisał:

command /aset [<player>] [<text>]:
    trigger:
        if player has permission "pakcore.aset":
            if arg 1 is set:
                add iron sword of sharpness 5
                add enchanted golden apple
                add 3 golden apple
                equip arg 1 with all iron armour of protection 4, unbreaking 1
                stop
                
            else:
                send "&7>> &cPoprawne uzycie:&7/aset <gracz>"
                stop

 

nie dziala

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180728
Udostępnij na innych stronach

  • 0
command /aset [<player>] [<text>]:
	trigger:
		if player has permission "pakcore.aset":
			if arg 1 is set:
				give player iron sword of sharpness 5
				give player enchanted golden apple
				give player 3 golden apple
				equip arg 1 with all iron armour of protection 4, unbreaking 1
				stop
			else:
				send "&7>> &cPoprawne uzycie:&7/aset <gracz>"

https://code.skript.pl/qhiJGCMU

chyba będzie

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180730
Udostępnij na innych stronach

  • 0
4 minuty temu, xAxee napisał:

command /aset [<player>] [<text>]:
	trigger:
		if player has permission "pakcore.aset":
			if arg 1 is set:
				give player iron sword of sharpness 5
				give player enchanted golden apple
				give player 3 golden apple
				equip arg 1 with all iron armour of protection 4, unbreaking 1
				stop
			else:
				send "&7>> &cPoprawne uzycie:&7/aset <gracz>"

https://code.skript.pl/qhiJGCMU

chyba będzie

dzięki :D Dziala !!!! Nice! Do zamknięcia!

Odnośnik do komentarza
https://skript.pl/temat/27365-auto-eq/#findComment-180731
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ę...