Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Nie działa skrypt na informacje.


Rekomendowane odpowiedzi

Opublikowano

Witam czemu mi nie działa /drop proszę oto skrpy 

 

 

#========================================================================================================# 
#                                  Skrypt stworzony przez HugoZvPlayZ                                    #
#                                           Nazwa: StoneZ                                                #
#                                            Wersja: 0.3                                                 #
#                                           Skript: 2.0.2                                                #
#========================================================================================================#
#--------------------------------------------------------------------------------------------------------#
#                                              USTAWIENIA                                                #
#--------------------------------------------------------------------------------------------------------#
options:
	# Tag Skryptu
	StoneZ.tag: &4&lStone&0&lZ
	StoneZ.|: &7&l|
	
	#Swiat w ktorym skrypt StoneZ ma dzialac
	StoneZ.world: "world" or "world_2"
	
	# Zamiana bloku rudy po zniszczeniu
	StoneZ.set.block: air
	
	# Drop Exp z kamienia (stone)
	StoneZ.drop.xp: 1
	
	# Szansa znalezienia mineralow:
		# Fortuna 0
	StoneZ.chance.coal.fortune.0: 7
	StoneZ.chance.iron.fortune.0: 2
	StoneZ.chance.gold.fortune.0: 1
	StoneZ.chance.diamond.fortune.0: 0.7
	StoneZ.chance.emerald.fortune.0: 0.7
	StoneZ.chance.lapis.fortune.0: 5
	StoneZ.chance.redstone.fortune.0: 5
		# Fortuna 1
	StoneZ.chance.coal.fortune.1: 2
	StoneZ.chance.iron.fortune.1: 1.6
	StoneZ.chance.gold.fortune.1: 0.7
	StoneZ.chance.diamond.fortune.1: 0.6
	StoneZ.chance.emerald.fortune.1: 0.4
	StoneZ.chance.lapis.fortune.1: 0.7
	StoneZ.chance.redstone.fortune.1: 0.7
		# Fortuna 2
	StoneZ.chance.coal.fortune.2: 2.3
	StoneZ.chance.iron.fortune.2: 1.9
	StoneZ.chance.gold.fortune.2: 1
	StoneZ.chance.diamond.fortune.2: 0.9
	StoneZ.chance.emerald.fortune.2: 0.7
	StoneZ.chance.lapis.fortune.2: 1
	StoneZ.chance.redstone.fortune.2: 1
		# Fortuna 3
	StoneZ.chance.coal.fortune.3: 2.6
	StoneZ.chance.iron.fortune.3: 2.2
	StoneZ.chance.gold.fortune.3: 1.3
	StoneZ.chance.diamond.fortune.3: 1.2
	StoneZ.chance.emerald.fortune.3: 1
	StoneZ.chance.lapis.fortune.3: 1.3
	StoneZ.chance.redstone.fortune.3: 1.3
	
#--------------------------------------------------------------------------------------------------------#

	# Ilosc znalezienia mineralow:
		# Fortuna 0
			# Coal
	StoneZ.drop.coal.fortune.0.od: 3
	StoneZ.drop.coal.fortune.0.do: 7
			# Iron
	StoneZ.drop.iron.fortune.0.od: 1
	StoneZ.drop.iron.fortune.0.do: 1
			# Gold
	StoneZ.drop.gold.fortune.0.od: 1
	StoneZ.drop.gold.fortune.0.do: 1
			# Diamond
	StoneZ.drop.diamond.fortune.0.od: 1
	StoneZ.drop.diamond.fortune.0.do: 1
			# Emerald
	StoneZ.drop.emerald.fortune.0.od: 1
	StoneZ.drop.emerald.fortune.0.do: 1
			# Lapis
	StoneZ.drop.lapis.fortune.0.od: 4
	StoneZ.drop.lapis.fortune.0.do: 8
			# RedStone
	StoneZ.drop.redstone.fortune.0.od: 4
	StoneZ.drop.redstone.fortune.0.do: 5
#--------------------------------------------------------------------------------------------------------#
		# Fortuna 1
			# Coal
	StoneZ.drop.coal.fortune.1.od: 3
	StoneZ.drop.coal.fortune.1.do: 8
			# Iron
	StoneZ.drop.iron.fortune.1.od: 1
	StoneZ.drop.iron.fortune.1.do: 2
			# Gold
	StoneZ.drop.gold.fortune.1.od: 1
	StoneZ.drop.gold.fortune.1.do: 2
			# Diamond
	StoneZ.drop.diamond.fortune.1.od: 1
	StoneZ.drop.diamond.fortune.1.do: 2
			# Emerald
	StoneZ.drop.emerald.fortune.1.od: 1
	StoneZ.drop.emerald.fortune.1.do: 2
			# Lapis
	StoneZ.drop.lapis.fortune.1.od: 4
	StoneZ.drop.lapis.fortune.1.do: 9
			# RedStone
	StoneZ.drop.redstone.fortune.1.od: 4
	StoneZ.drop.redstone.fortune.1.do: 6
#--------------------------------------------------------------------------------------------------------#
		# Fortuna 2
			# Coal
	StoneZ.drop.coal.fortune.2.od: 3
	StoneZ.drop.coal.fortune.2.do: 9
			# Iron
	StoneZ.drop.iron.fortune.2.od: 1
	StoneZ.drop.iron.fortune.2.do: 3
			# Gold
	StoneZ.drop.gold.fortune.2.od: 1
	StoneZ.drop.gold.fortune.2.do: 3
			# Diamond
	StoneZ.drop.diamond.fortune.2.od: 1
	StoneZ.drop.diamond.fortune.2.do: 3
			# Emerald
	StoneZ.drop.emerald.fortune.2.od: 1
	StoneZ.drop.emerald.fortune.2.do: 3
			# Lapis
	StoneZ.drop.lapis.fortune.2.od: 4
	StoneZ.drop.lapis.fortune.2.do: 10
			# RedStone
	StoneZ.drop.redstone.fortune.2.od: 4
	StoneZ.drop.redstone.fortune.2.do: 7
#--------------------------------------------------------------------------------------------------------#
		# Fortuna 3
			# Coal
	StoneZ.drop.coal.fortune.3.od: 3
	StoneZ.drop.coal.fortune.3.do: 10
			# Iron
	StoneZ.drop.iron.fortune.3.od: 1
	StoneZ.drop.iron.fortune.3.do: 4
			# Gold
	StoneZ.drop.gold.fortune.3.od: 1
	StoneZ.drop.gold.fortune.3.do: 4
			# Diamond
	StoneZ.drop.diamond.fortune.3.od: 1
	StoneZ.drop.diamond.fortune.3.do: 4
			# Emerald
	StoneZ.drop.emerald.fortune.3.od: 1
	StoneZ.drop.emerald.fortune.3.do: 4
			# Lapis
	StoneZ.drop.lapis.fortune.3.od: 4
	StoneZ.drop.lapis.fortune.3.do: 11
			# RedStone
	StoneZ.drop.redstone.fortune.3.od: 4
	StoneZ.drop.redstone.fortune.3.do: 8
	
#--------------------------------------------------------------------------------------------------------#

	# Wysokosc znalezienia mineralow
	StoneZ.y.coal: 100
	StoneZ.y.iron: 60
	StoneZ.y.gold: 30
	StoneZ.y.diamond: 21
	StoneZ.y.emerald: 30
	StoneZ.y.lapis: 30
	StoneZ.y.redstone: 30
	
	# Info | Wiadomosc po znalezieniu mineralu
	StoneZ.msg.drop.coal: &7 * Znalazles &0&lWegiel
	StoneZ.msg.drop.iron: &7 * Znalazles &7&lZelazo
	StoneZ.msg.drop.gold: &7 * Znalazles &e&lZloto
	StoneZ.msg.drop.diamond: &7 * Znalazles &b&lDiament
	StoneZ.msg.drop.emerald: &7 * Znalazles &2&lEmerald
	StoneZ.msg.drop.lapis: &7 * Znalazles &1&lLapis
	StoneZ.msg.drop.redstone: &7 * Znalazles &c&lRedStone
	
	# Info | Wiadomosc po wykopaniu rudy mineralu
	StoneZ.msg.ore: &7Mineraly wypadaja z kamienia |
	
	# Info | Wiadomosc o braku uprawnien
	StoneZ.msg.permission: &4Nie masz uprawnien
	
	# Info | Reload
	StoneZ.msg.reload: &aSkrypt przeladowany pomyslnie
#--------------------------------------------------------------------------------------------------------#
#                                              UPRAWNIEIA                                                #
#--------------------------------------------------------------------------------------------------------#
#	/StoneZ pomoc    ● Pomoc        ● StoneZ.gracz | StoneZ.admin                                        #
#	/StoneZ drop     ● Drop         ● StoneZ.gracz | StoneZ.admin                                        #
#	/StoneZ info     ● Informacje   ● StoneZ.gracz | StoneZ.admin                                        #
#	/StoneZ reload   ● Reload       ● StoneZ.admin                                                       #
#--------------------------------------------------------------------------------------------------------#
#--------------------------------------------------------------------------------------------------------#
#                                              KOD                                                       #
#--------------------------------------------------------------------------------------------------------#
on mine of any ore or emerald ore:
	if player's world is {@StoneZ.world}:
		cancel event
		set block to {@StoneZ.set.block}
		drop 1 cobblestone
		message "{@StoneZ.msg.ore}"
#--------------------------------------------------------------------------------------------------------#
on mine of stone:
	if player's world is {@StoneZ.world}:
		if player's gamemode is survival:
			drop {@StoneZ.drop.xp} xp
#--------------------------------------------------------------------------------------------------------#
		if player' tool is a pickaxe of fortune 0:
			if player's y-coordinate is smaller than {@StoneZ.y.coal}:
				chance of {@StoneZ.chance.coal.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.coal.fortune.0.od} and {@StoneZ.drop.coal.fortune.0.do} of coal
						message "{@StoneZ.msg.drop.coal}"
			if player's y-coordinate is smaller than {@StoneZ.y.iron}:
				chance of {@StoneZ.chance.iron.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.iron.fortune.0.od} and {@StoneZ.drop.iron.fortune.0.do} of iron ore
						message "{@StoneZ.msg.drop.iron}"
			if player's y-coordinate is smaller than {@StoneZ.y.gold}:
				chance of {@StoneZ.chance.gold.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.gold.fortune.0.od} and {@StoneZ.drop.gold.fortune.0.do} of gold ore
						message "{@StoneZ.msg.drop.gold}"
			if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
				chance of {@StoneZ.chance.diamond.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.diamond.fortune.0.od} and {@StoneZ.drop.diamond.fortune.0.do} of diamond
						message "{@StoneZ.msg.drop.diamond}"
			if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
				chance of {@StoneZ.chance.emerald.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.emerald.fortune.0.od} and {@StoneZ.drop.emerald.fortune.0.do} of emerald
						message "{@StoneZ.msg.drop.emerald}"
			if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
				chance of {@StoneZ.chance.lapis.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.lapis.fortune.0.od} and {@StoneZ.drop.lapis.fortune.0.do} of lapis
						message "{@StoneZ.msg.drop.lapis}"
			if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
				chance of {@StoneZ.chance.redstone.fortune.0}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.redstone.fortune.0.od} and {@StoneZ.drop.redstone.fortune.0.do} of redstone
						message "{@StoneZ.msg.drop.redstone}"
#--------------------------------------------------------------------------------------------------------#
		if player' tool is a pickaxe of fortune 1:
			if player's y-coordinate is smaller than {@StoneZ.y.coal}:
				chance of {@StoneZ.chance.coal.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.coal.fortune.1.od} and {@StoneZ.drop.coal.fortune.1.do} of coal
						message "{@StoneZ.msg.drop.coal}"
			if player's y-coordinate is smaller than {@StoneZ.y.iron}:
				chance of {@StoneZ.chance.iron.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.iron.fortune.1.od} and {@StoneZ.drop.iron.fortune.1.do} of iron ore
						message "{@StoneZ.msg.drop.iron}"
			if player's y-coordinate is smaller than {@StoneZ.y.gold}:
				chance of {@StoneZ.chance.gold.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.gold.fortune.1.od} and {@StoneZ.drop.gold.fortune.1.do} of gold ore
						message "{@StoneZ.msg.drop.gold}"
			if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
				chance of {@StoneZ.chance.diamond.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.diamond.fortune.1.od} and {@StoneZ.drop.diamond.fortune.1.do} of diamond
						message "{@StoneZ.msg.drop.diamond}"
			if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
				chance of {@StoneZ.chance.emerald.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.emerald.fortune.1.od} and {@StoneZ.drop.emerald.fortune.1.do} of emerald
						message "{@StoneZ.msg.drop.emerald}"
			if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
				chance of {@StoneZ.chance.lapis.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.lapis.fortune.1.od} and {@StoneZ.drop.lapis.fortune.1.do} of lapis
						message "{@StoneZ.msg.drop.lapis}"
			if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
				chance of {@StoneZ.chance.redstone.fortune.1}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.redstone.fortune.1.od} and {@StoneZ.drop.redstone.fortune.1.do} of redstone
						message "{@StoneZ.msg.drop.redstone}"
#--------------------------------------------------------------------------------------------------------#
		if player' tool is a pickaxe of fortune 2:
			if player's y-coordinate is smaller than {@StoneZ.y.coal}:
				chance of {@StoneZ.chance.coal.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.coal.fortune.2.od} and {@StoneZ.drop.coal.fortune.2.do} of coal
						message "{@StoneZ.msg.drop.coal}"
			if player's y-coordinate is smaller than {@StoneZ.y.iron}:
				chance of {@StoneZ.chance.iron.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.iron.fortune.2.od} and {@StoneZ.drop.iron.fortune.2.do} of iron ore
						message "{@StoneZ.msg.drop.iron}"
			if player's y-coordinate is smaller than {@StoneZ.y.gold}:
				chance of {@StoneZ.chance.gold.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.gold.fortune.2.od} and {@StoneZ.drop.gold.fortune.2.do} of gold ore
						message "{@StoneZ.msg.drop.gold}"
			if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
				chance of {@StoneZ.chance.diamond.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.diamond.fortune.2.od} and {@StoneZ.drop.diamond.fortune.2.do} of diamond
						message "{@StoneZ.msg.drop.diamond}"
			if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
				chance of {@StoneZ.chance.emerald.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.emerald.fortune.2.od} and {@StoneZ.drop.emerald.fortune.2.do} of emerald
						message "{@StoneZ.msg.drop.emerald}"
			if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
				chance of {@StoneZ.chance.lapis.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.lapis.fortune.2.od} and {@StoneZ.drop.lapis.fortune.2.do} of lapis
						message "{@StoneZ.msg.drop.lapis}"
			if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
				chance of {@StoneZ.chance.redstone.fortune.2}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.redstone.fortune.2.od} and {@StoneZ.drop.redstone.fortune.2.do} of redstone
						message "{@StoneZ.msg.drop.redstone}"
#--------------------------------------------------------------------------------------------------------#
		if player' tool is a pickaxe of fortune 3:
			if player's y-coordinate is smaller than {@StoneZ.y.coal}:
				chance of {@StoneZ.chance.coal.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.coal.fortune.3.od} and {@StoneZ.drop.coal.fortune.3.do} of coal
						message "{@StoneZ.msg.drop.coal}"
			if player's y-coordinate is smaller than {@StoneZ.y.iron}:
				chance of {@StoneZ.chance.iron.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.iron.fortune.3.od} and {@StoneZ.drop.iron.fortune.3.do} of iron ore
						message "{@StoneZ.msg.drop.iron}"
			if player's y-coordinate is smaller than {@StoneZ.y.gold}:
				chance of {@StoneZ.chance.gold.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.gold.fortune.3.od} and {@StoneZ.drop.gold.fortune.3.do} of gold ore
						message "{@StoneZ.msg.drop.gold}"
			if player's y-coordinate is smaller than {@StoneZ.y.diamond}:
				chance of {@StoneZ.chance.diamond.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.diamond.fortune.3.od} and {@StoneZ.drop.diamond.fortune.3.do} of diamond
						message "{@StoneZ.msg.drop.diamond}"
			if player's y-coordinate is smaller than {@StoneZ.y.emerald}:
				chance of {@StoneZ.chance.emerald.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.emerald.fortune.3.od} and {@StoneZ.drop.emerald.fortune.3.do} of emerald
						message "{@StoneZ.msg.drop.emerald}"
			if player's y-coordinate is smaller than {@StoneZ.y.lapis}:
				chance of {@StoneZ.chance.lapis.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.lapis.fortune.3.od} and {@StoneZ.drop.lapis.fortune.3.do} of lapis
						message "{@StoneZ.msg.drop.lapis}"
			if player's y-coordinate is smaller than {@StoneZ.y.redstone}:
				chance of {@StoneZ.chance.redstone.fortune.3}%:
					if player's gamemode is survival:
						drop a random number between {@StoneZ.drop.redstone.fortune.3.od} and {@StoneZ.drop.redstone.fortune.3.do} of redstone
						message "{@StoneZ.msg.drop.redstone}"
#--------------------------------------------------------------------------------------------------------#
command /StoneZ [<text>] [<text>]:
	aliases: sz
	trigger:
		if argument 1 is not set:
			execute player command "StoneZ pomoc"
		if argument 1 is "pomoc":
			if player has permission "StoneZ.gracz" or "StoneZ.admin":
				message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
				message "&e&l* &2/StoneZ pomoc &f- &7Pomoc"
				message "&e&l* &2/StoneZ drop <on:off> &f- &7Drop z kamienia"
				message "&e&l* &2/StoneZ info &f- &7Informacje"
				message "&e&l* &2/StoneZ reload &f- &7Reload"
				message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
			else:
				message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
		if argument 1 is "drop":
			if player has permission "StoneZ.gracz" or "StoneZ.admin":
				message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
				message "   &0&lWegiel &f- &7Fortuna 0: {@StoneZ.chance.coal.fortune.0}%, Fortuna 1: {@StoneZ.chance.coal.fortune.1}%, Fortuna 2: {@StoneZ.chance.coal.fortune.2}%, Fortuna 3: {@StoneZ.chance.coal.fortune.3}%, od poziomu {@StoneZ.y.coal}"
				message "   &7&lZelazo &f- &7Fortuna 0: {@StoneZ.chance.iron.fortune.0}%, Fortuna 1: {@StoneZ.chance.iron.fortune.1}%, Fortuna 2: {@StoneZ.chance.iron.fortune.2}%, Fortuna 3: {@StoneZ.chance.iron.fortune.3}%, od poziomu {@StoneZ.y.iron}"
				message "   &e&lZloto &f- &7Fortuna 0: {@StoneZ.chance.gold.fortune.0}%, Fortuna 1: {@StoneZ.chance.gold.fortune.1}%, Fortuna 2: {@StoneZ.chance.gold.fortune.2}%, Fortuna 3: {@StoneZ.chance.gold.fortune.3}%, od poziomu {@StoneZ.y.gold}"
				message "   &b&lDiament &f- &7Fortuna 0: {@StoneZ.chance.diamond.fortune.0}%, Fortuna 1: {@StoneZ.chance.diamond.fortune.1}%, Fortuna 2: {@StoneZ.chance.diamond.fortune.2}%, Fortuna 3: {@StoneZ.chance.diamond.fortune.3}%, od poziomu {@StoneZ.y.diamond}"
				message "   &2&lEmerald &f- &7Fortuna 0: {@StoneZ.chance.emerald.fortune.0}%, Fortuna 1: {@StoneZ.chance.emerald.fortune.1}%, Fortuna 2: {@StoneZ.chance.emerald.fortune.2}%, Fortuna 3: {@StoneZ.chance.emerald.fortune.3}%, od poziomu {@StoneZ.y.emerald}"
				message "   &1&lLapis &f- &7Fortuna 0: {@StoneZ.chance.lapis.fortune.0}%, Fortuna 1: {@StoneZ.chance.lapis.fortune.1}%, Fortuna 2: {@StoneZ.chance.lapis.fortune.2}%, Fortuna 3: {@StoneZ.chance.lapis.fortune.3}%, od poziomu {@StoneZ.y.lapis}"
				message "   &c&lRedStone &f- &7Fortuna 0: {@StoneZ.chance.redstone.fortune.0}%, Fortuna 1: {@StoneZ.chance.redstone.fortune.1}%, Fortuna 2: {@StoneZ.chance.redstone.fortune.2}%, Fortuna 3: {@StoneZ.chance.redstone.fortune.3}%, od poziomu {@StoneZ.y.redstone}"
				message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
			else:
				message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
		if argument 1 is "info":
			if player has permission "StoneZ.gracz" or "StoneZ.admin":
				message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
				message "&e&l* &2&lSkrypt: &4&lStone&0&lZ"
				message "&e&l* &2&lWersja: &c&l0.3"
				message "&e&l* &2&lAutor: &e&lHugoZvPlayZ"
				message "&5&l&m===============[{@StoneZ.tag}&5&l&m]==============="
			else:
				message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
		if argument 1 is "reload" or "rl":
			if player has permission "StoneZ.admin":
				execute console command "skript reload StoneZ"
				message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.reload}"
			else:
				message "{@StoneZ.tag} {@StoneZ.|} {@StoneZ.msg.permission}"
#--------------------------------------------------------------------------------------------------------#
command /drop:
	aliases: stone, kamien
	trigger:
		execute player command "StoneZ drop"
#--------------------------------------------------------------------------------------------------------#
#Zabezpieczenie przez TNT
on explode:
	if entity is TNT:
		loop blocks in radius 5:
			if loop-block is any ore:
				set loop-block to {@StoneZ.set.block}
#-------------------------------------------- Koniec skryptu --------------------------------------------#
#------------------------------- © by HugoZvPlayZ - Strona: www.HvZ.ugu.pl ------------------------------#

 

 

banner-3.png

Opublikowano

  •     #Swiat w ktorym skrypt StoneZ ma dzialac

  •     StoneZ.world: "world" or "world_2"

Czy tak jest ?

  • command /drop:

  •     aliases: stone, kamien

    trigger:

        execute player command "StoneZ drop"

/drop, /stonez, /stonez drop ?

 

Opublikowano

 

  •     #Swiat w ktorym skrypt StoneZ ma dzialac
  •     StoneZ.world: "world" or "world_2"

Czy tak jest ?

  • command /drop:
  •     aliases: stone, kamien
  •     trigger:
  •         execute player command "StoneZ drop"

/drop, /stonez, /stonez drop ?

 

O co ci chodzi ? Proszę o ten skrypt w całości ale poprawiony 

banner-3.png

Opublikowano
command /drop:
aliases: stone, kamien
trigger:
execute player command "StoneZ drop"

Nie wiem po co execute player command "StoneZ drop".

Możesz po prostu skopiować to co masz w komendzie StoneZ drop i dać do komendy drop.

Żaden problem a efekt ten sam.

 

P.S piszesz czemu nie działa ta komenda /drop:

Otóż skrypt nie wczytuje komend które są zrobione w nim.

Jeśli już chcesz z tym execute... zrób tak:

command /drop:
aliases: stone, kamien
trigger:
make execute player command "StoneZ drop"

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...