Skocz do zawartości
  • 0

Lore I Nazwa


DJ_CITROX
 Udostępnij

Pytanie

Siemka . mam taki skrypt : 

command /zmien <text> [<text&gt] <text>:	trigger:		if player's tool is not air:			if argument 1 is "nazwe":				if argument 2 is not set:					if argument 3 is set:						set name of player's tool to argument 3			if argument 1 is "lore":				if argument 2 is set:					if argument 3 is set:						if argument 2 is "1":							set the 1st line of the tool's lore to "%argument 3%"							send "Linia pierwsza przedmiotu ustawiona na %argument 3%"						if argument 2 is "2":							set the 2nd line of the tool's lore to "%argument 3%"							send "Linia druga przedmiotu ustawiona na %argument 3%"						if argument 2 is "3":							set the 3rd line of the tool's lore to "%argument 3%"							send "Linia trzecia przedmiotu ustaiona na %argument 3%"						else if argument 2 is not "1" or "2" or "3":							send "Mozesz wpisac tylko 1,2,3"			else if argument 1 is not "nazwe" or "lore":				send "Mozesz wpisac tylko nazwe lub lore"		else:			send "Musisz miec przedmiot w rece"

a chce aby to było pod uprawnienie [ bo tutaj nie jest ustawione ] i chce aby dało się zrobić np : /zmien lore 1 &a&l Elo       bo teraz nie działa bo pisze np : &a&lElo na fioletowo ;c daje plusy ;)

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Spróbuj użyć tego kodu:

command /lore [<integer&gt] [<text&gt]:	executable by: players	aliases: lore	trigger:		if player has permission "admin":			if arg 1 is not set:				send "&7Uzycie: &a/lore <numer lini> <nazwa>"			else:				set line arg 1 of the lore of player's tool to coloured arg 2				send "&7Zmieniono lore przedmiotu."		else:			send "&cBrak uprawnien"command /nazwa [<text&gt]:    executable by: players    aliases: name, rename, tag    trigger:        if player has permission "admin":            if arg 1 is not set:                send "&7Uzycie: &a/name <nazwa>"            else:                set name of player's tool to "%colored arg%"                send "&7Zmieniono nazwe na &a%colored arg%&7."        else:            send "&cBrak uprawnien"
Edytowane przez Mroczny337
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Dnia 14.10.2014 o 00:26, Mroczny337 napisał:

Spróbuj użyć tego kodu:


command /lore [<integer&gt] [<text&gt]:	executable by: players	aliases: lore	trigger:		if player has permission "admin":			if arg 1 is not set:				send "&7Uzycie: &a/lore <numer lini> <nazwa>"			else:				set line arg 1 of the lore of player's tool to coloured arg 2				send "&7Zmieniono lore przedmiotu."		else:			send "&cBrak uprawnien"command /nazwa [<text&gt]:    executable by: players    aliases: name, rename, tag    trigger:        if player has permission "admin":            if arg 1 is not set:                send "&7Uzycie: &a/name <nazwa>"            else:                set name of player's tool to "%colored arg%"                send "&7Zmieniono nazwe na &a%colored arg%&7."        else:            send "&cBrak uprawnien"

 

Nie działa :/

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Nauczcie się używać kodu plox

command /zmien [<text>] [<text>] [<text>]:
  trigger:
    arg 1 is "lore":
      arg 2 parsed as number is set:
        arg 3 is set:
          set (arg 2 parsed as number)th line of (player's tool)'s lore to colored "&r%arg 3%"

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...