Skocz do zawartości
  • 0

[Gildia]


hauhau1122

Pytanie

Witam Bardzo cieplutko. Umie ktos moze i napisalby skrypt, ze jak ktos wpisze komende /Itemki To otwiera (Cos tam) i jest Dodane: Przedmiot: Zeby założyc gildie, musisz mieć... 50 Stone 60 diament, w sensie ze jak sie wpisze /itemy wyswietla sie jakby skrzynki eq i jest 60 diament 50 stone, i ze tego nie mozna wyciagnac

Odnośnik do komentarza
https://skript.pl/temat/35213-gildia/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /itemy:
	trigger:
		open chest with 1 row named "cos tam" to player
		format slot 1 of player with diamond named "&2diamenty" with lore "potrzebujesz 64 diaxow" to be unstealable
		format slot 2 of player with iron ingot named "&7zelazo" with lore "potrzebujesz 128 zelaza" to be unstealable
		format slot 3 of player with emerald named "&aszmaragdy" with lore "potrzebujesz 32 szmaragdy" to be unstealable
		format slot 4 of player with diamond named "&ezloto" with lore "potrzebujesz 64 zlota" to be unstealable
		format slot 5 of player with diamond named "wegiel" with lore "potrzebujesz 256 wegla" to be unstealable

 

Odnośnik do komentarza
https://skript.pl/temat/35213-gildia/#findComment-226138
Udostępnij na innych stronach

  • 0
command /itemy:
	trigger:
		open chest with 1 row named "&cItemy" to player
		set slot 0 of player's current inventory to 60 stone named "&cDiament" with lore "&9Potrzebujesz 60 stone."
		set slot 1 of player's current inventory to 50 stone named "&cStone" with lore "&9Potrzebujesz 50 stone."
on inventory click:
	inventory name of player's current inventory is "&cItemy":
		cancel event

Wymagane skQuery.

Odnośnik do komentarza
https://skript.pl/temat/35213-gildia/#findComment-226139
Udostępnij na innych stronach

  • 0
command /itemy [<text=>]:
	trigger:
		if "%inventory name of player's current inventory%" is not "Itemy":
			close player's inventory
		wait a tick
		open chest with 1 rows named "Itemy" to player
		if player doesn't have 50 stone:
			set player's current inventory's slot 0 to 50 stone named "Potrzebujesz 50 stone!"
		if player doesn't have 60 diamond:
			set player's current inventory's slot 1 to 60 diamond named "Potrzebujesz 60 diamentow!"

on inventory click:
	if "%inventory name of player's current inventory%" is "Itemy":
		cancel event

 

Odnośnik do komentarza
https://skript.pl/temat/35213-gildia/#findComment-226168
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ę...