Skocz do zawartości
  • 0

help


Kurzin

Pytanie


on script load:
    register new shaped recipe for Dragon Egg of infinity 1 named "&c&lPUSZKA PANDORY" with lore "&7Wiecej informacji pod ||&c/drop" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian


on place 122:
	if {pandora} is true:
		set block to air
		send "&8[&c&lPANDORA&8] &7Otworzyles puszke Pandory!"
		chance of 50%:
			send "&c&lTRAFILES NA: &7Obsydian &8(&c64 szt.&8)"
			drop 64 obsidian 
		chance of 75%:
			send "&c&lTRAFILES NA: &4ZOMBIACZKI!"
			spawn 1 zombie at block
            give diamond chestplate of Protection 4 to last spawned zombie's chestplate
            give diamond leggings of Protection 4 to last spawned zombie's leggings
            give diamond helmet of Protection 4 to last spawned zombie's helmet
            give diamond boots of Protection 4 to last spawned zombie's boots
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting effect at block
			wait 1 second
			spawn 1 zombie at block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
            give diamond leggings of Protection 4 to last spawned zombie's leggings
            give diamond helmet of Protection 4 to last spawned zombie's helmet
            give diamond boots of Protection 4 to last spawned zombie's boots
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting effect at block
			wait 1 second
			spawn 1 zombie at  block
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting effect at block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
            give diamond leggings of Protection 4 to last spawned zombie's leggings
            give diamond helmet of Protection 4 to last spawned zombie's helmet
            give diamond boots of Protection 4 to last spawned zombie's boots
		chance of 35%:
			loop block in radius 2:
				loop-blocks is not bedrock or obsidian or air:
					set loop-blocks to lava
		chance of 0.001%:
			drop 1 beacon named "&9&lBEACON" with lore "&7Postawienie skutkuje: || &7wyswietleniem koordynatow||&7na chacie"
			send "&9&lTRAFILES NA BEACONA!!! HYPE HYPE HYPE"
		chance of 20%:
			drop 8 ender pearl
			send "&c&lTRAFILES NA: &7Ender pearly &8(&c8 szt. &8)"
		chance of 7%:
			drop 2 322:122
			send "&c&lTRAFILES NA: &7Enchantowane jablko &8(&c2 szt. &8)"
		chance of 3%:
			drop 1 122
			send "&c&lTRAFILES NA: &7Puszke pandory &8(&c1 szt. &8)"
		chance of 2%:
			send "&c&lTRAFILES NA: &7Puszke pandory &8(&c2 szt. &8)"
		
		
command /pandoraadmin [<text>];
	permission: v0p.cmd.pandora
	permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)
	trigger:
		if arg 1 is "on":
			set {pandora} to true
		if arg 1 is "off":
			set {pandora} to false
		if arg 1 is "all"
			loop all players:
				give all loop-player 1 122
				broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"

Errory:

 

1:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[21:37:03 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all"')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[21:37:03 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"')
[21:37:03 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '122' with e.g. 'dragon egg'. (v0pPandora.sk, line 6: on place 122:')
[21:37:03 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 21: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 29: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 33: strike lighting effect at block')
[21:37:04 ERROR]: Can't understand this loop: 'loop block in radius 2' (v0pPandora.sk, line 39: loop block in radius 2:')
[21:37:04 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:122'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (v0pPandora.sk, line 49: drop 2 322:122')
[21:37:04 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '122' with e.g. 'dragon egg'. (v0pPandora.sk, line 52: drop 1 122')
[21:37:04 ERROR]: invalid line - all code has to be put into triggers (v0pPandora.sk, line 58: command /pandoraadmin [<text>];')

a dobrze wytabowane itd jest

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

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Wytabowane jest dobrze, ale nie postawiłeś znaku " : " w /pandoraadmin all

on script load:
    register new shaped recipe for Dragon Egg of infinity 1 named "&c&lPUSZKA PANDORY" with lore "&7Wiecej informacji pod ||&c/drop" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian


on place 122:
	if {pandora} is true:
		set block to air
		send "&8[&c&lPANDORA&8] &7Otworzyles puszke Pandory!"
		chance of 50%:
			send "&c&lTRAFILES NA: &7Obsydian &8(&c64 szt.&8)"
			drop 64 obsidian 
		chance of 75%:
			send "&c&lTRAFILES NA: &4ZOMBIACZKI!"
			spawn 1 zombie at block
            give diamond chestplate of Protection 4 to last spawned zombie's chestplate
            give diamond leggings of Protection 4 to last spawned zombie's leggings
            give diamond helmet of Protection 4 to last spawned zombie's helmet
            give diamond boots of Protection 4 to last spawned zombie's boots
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting effect at block
			wait 1 second
			spawn 1 zombie at block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
            give diamond leggings of Protection 4 to last spawned zombie's leggings
            give diamond helmet of Protection 4 to last spawned zombie's helmet
            give diamond boots of Protection 4 to last spawned zombie's boots
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting effect at block
			wait 1 second
			spawn 1 zombie at  block
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting effect at block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
            give diamond leggings of Protection 4 to last spawned zombie's leggings
            give diamond helmet of Protection 4 to last spawned zombie's helmet
            give diamond boots of Protection 4 to last spawned zombie's boots
		chance of 35%:
			loop block in radius 2:
				loop-blocks is not bedrock or obsidian or air:
					set loop-blocks to lava
		chance of 0.001%:
			drop 1 beacon named "&9&lBEACON" with lore "&7Postawienie skutkuje: || &7wyswietleniem koordynatow||&7na chacie"
			send "&9&lTRAFILES NA BEACONA!!! HYPE HYPE HYPE"
		chance of 20%:
			drop 8 ender pearl
			send "&c&lTRAFILES NA: &7Ender pearly &8(&c8 szt. &8)"
		chance of 7%:
			drop 2 322:122
			send "&c&lTRAFILES NA: &7Enchantowane jablko &8(&c2 szt. &8)"
		chance of 3%:
			drop 1 122
			send "&c&lTRAFILES NA: &7Puszke pandory &8(&c1 szt. &8)"
		chance of 2%:
			send "&c&lTRAFILES NA: &7Puszke pandory &8(&c2 szt. &8)"
		
		
command /pandoraadmin [<text>];
	permission: v0p.cmd.pandora
	permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)
	trigger:
		if arg 1 is "on":
			set {pandora} to true
		if arg 1 is "off":
			set {pandora} to false
		if arg 1 is "all":
			loop all players:
				give all loop-player 1 122
				broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"

 

Odnośnik do komentarza
https://skript.pl/temat/11963-help/#findComment-85182
Udostępnij na innych stronach

  • 0

Nadal bledy:

[22:17:58 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 21: strike lighting effect at block')
[22:17:58 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 29: strike lighting effect at block')
[22:17:58 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 33: strike lighting effect at block')

 

[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 16: give diamond chestplate of Protection 4 to last spawned zombie's chestplate')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 17: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 18: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 19: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 25: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 26: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all":')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"')
[22:17:53 ERROR]: invalid line - all code has to be put into triggers (v0pPandora.sk, line 58: command /pandoraadmin [<text>];')
[22:17:53 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (Leksylia.Drop.sk, line 259: chance of {@szansa_zlotov}%:')
[22:17:58 ERROR]: Can't understand this condition/effect: create timed bar with text "&6TurboDrop" to player for number-arg seconds (leksylia.turbodrop.sk, line 14: create timed bar with text "&6TurboDrop" to player for number-arg seconds')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 16: give diamond chestplate of Protection 4 to last spawned zombie's chestplate')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 17: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 18: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 19: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 25: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 26: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all":')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE

Odnośnik do komentarza
https://skript.pl/temat/11963-help/#findComment-85183
Udostępnij na innych stronach

  • 0
28 minut temu, Kurzin napisał:

Nadal bledy:

[22:17:58 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 21: strike lighting effect at block')
[22:17:58 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 29: strike lighting effect at block')
[22:17:58 ERROR]: Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 33: strike lighting effect at block')

 

[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 16: give diamond chestplate of Protection 4 to last spawned zombie's chestplate')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 17: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 18: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 19: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 25: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 26: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:53 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all":')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[22:17:53 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"')
[22:17:53 ERROR]: invalid line - all code has to be put into triggers (v0pPandora.sk, line 58: command /pandoraadmin [<text>];')
[22:17:53 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (Leksylia.Drop.sk, line 259: chance of {@szansa_zlotov}%:')
[22:17:58 ERROR]: Can't understand this condition/effect: create timed bar with text "&6TurboDrop" to player for number-arg seconds (leksylia.turbodrop.sk, line 14: create timed bar with text "&6TurboDrop" to player for number-arg seconds')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 16: give diamond chestplate of Protection 4 to last spawned zombie's chestplate')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 17: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 18: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 19: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 25: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 26: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 27: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 35: give diamond leggings of Protection 4 to last spawned zombie's leggings')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 36: give diamond helmet of Protection 4 to last spawned zombie's helmet')
[22:17:58 ERROR]: indentation error: expected 3 tabs, but found 12 spaces (v0pPandora.sk, line 37: give diamond boots of Protection 4 to last spawned zombie's boots')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 59: permission: v0p.cmd.pandora')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 60: permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 1 tab (v0pPandora.sk, line 61: trigger:')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 62: if arg 1 is "on":')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 63: set {pandora} to true')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 64: if arg 1 is "off":')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 65: set {pandora} to false')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (v0pPandora.sk, line 66: if arg 1 is "all":')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 3 tabs (v0pPandora.sk, line 67: loop all players:')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 68: give all loop-player 1 122')
[22:17:58 ERROR]: indentation error: expected 0 tabs, but found 4 tabs (v0pPandora.sk, line 69: broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE

W tych 1 bledach co pisze 3 tabs, but found 12 spaces - zamieniasz po prostu spacje na taby. Natomiast w tych drugich bledach (drugiej czesci) to jeszcze gdzies masz blad - daj obecny kod.

Znalazlem blad - na /pandoraadmin na koncu masz znak ";" zamiast dwukropku.

Odnośnik do komentarza
https://skript.pl/temat/11963-help/#findComment-85184
Udostępnij na innych stronach

  • 0

ale ja nie mam tam spacji o to chodzi ,ze mam taby!

 

// teraz sa bledy

Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 21: strike lighting effect at block')
[22:52:43 ERROR]: [Skript] Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 29: strike lighting effect at block')
[22:52:43 ERROR]: [Skript] Can't understand this condition/effect: strike lighting effect at block (v0pPandora.sk, line 33: strike lighting effect at block')
[22:52:43 ERROR]: [Skript] Can't understand this loop: 'loop block in radius 2' (v0pPandora.sk, line 39: loop block in radius 2:')
[22:52:43 ERROR]: [Skript] Can't understand this condition/effect: give all loop-player 1 122 (v0pPandora.sk, line 68: give all loop-player 1 122')

Edytowane przez Kurzin
Odnośnik do komentarza
https://skript.pl/temat/11963-help/#findComment-85185
Udostępnij na innych stronach

  • 0
Spoiler

on script load:
    register new shaped recipe for Dragon Egg of infinity 1 named "&c&lPUSZKA PANDORY" with lore "&7Wiecej informacji pod ||&c/drop" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian


on place 122:
	if {pandora} is true:
		set block to air
		send "&8[&c&lPANDORA&8] &7Otworzyles puszke Pandory!"
		chance of 50%:
			send "&c&lTRAFILES NA: &7Obsydian &8(&c64 szt.&8)"
			drop 64 obsidian 
		chance of 75%:
			send "&c&lTRAFILES NA: &4ZOMBIACZKI!"
			spawn 1 zombie at location of event-block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
			give diamond leggings of Protection 4 to last spawned zombie's leggings
			give diamond helmet of Protection 4 to last spawned zombie's helmet
			give diamond boots of Protection 4 to last spawned zombie's boots
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting at location of event-block
			wait 1 second
			spawn 1 zombie at location of event-block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
			give diamond leggings of Protection 4 to last spawned zombie's leggings
			give diamond helmet of Protection 4 to last spawned zombie's helmet
			give diamond boots of Protection 4 to last spawned zombie's boots
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting at location of event-block
			wait 1 second
			spawn 1 zombie at location of event-block
			set the displayname of last spawned zombie to "&4Zombiaczek Zaglady"
			strike lighting at location of event-block
			give diamond chestplate of Protection 4 to last spawned zombie's chestplate
			give diamond leggings of Protection 4 to last spawned zombie's leggings
			give diamond helmet of Protection 4 to last spawned zombie's helmet
			give diamond boots of Protection 4 to last spawned zombie's boots
		chance of 35%:
			loop all blocks in radius 2:
				if loop-block is not bedrock or obsidian or air:
					set loop-block to lava
		chance of 0.001%:
			drop 1 beacon named "&9&lBEACON" with lore "&7Postawienie skutkuje: || &7wyswietleniem koordynatow||&7na chacie"
			send "&9&lTRAFILES NA BEACONA!!! HYPE HYPE HYPE"
		chance of 20%:
			drop 8 ender pearl
			send "&c&lTRAFILES NA: &7Ender pearly &8(&c8 szt. &8)"
		chance of 7%:
			drop 2 322:122
			send "&c&lTRAFILES NA: &7Enchantowane jablko &8(&c2 szt. &8)"
		chance of 3%:
			drop 1 122
			send "&c&lTRAFILES NA: &7Puszke pandory &8(&c1 szt. &8)"
		chance of 2%:
			send "&c&lTRAFILES NA: &7Puszke pandory &8(&c2 szt. &8)"
		
		
command /pandoraadmin [<text>];
	permission: v0p.cmd.pandora
	permission message: &c&lBLAD: &7Brak Uprawnien &8(&cv0p.cmd.pandora&8)
	trigger:
		if arg 1 is "on":
			set {pandora} to true
		if arg 1 is "off":
			set {pandora} to false
		if arg 1 is "all":
			broadcast "&8[&c&lPANDORA&8] &7caly serwer otrzymal &cPUSZKE PANDORY"
			loop all players:
				give 1 dragon egg of infinity 1 named "&c&lPUSZKA PANDORY" with lore "&7Wiecej informacji pod ||&c/drop" to loop-player

 

Daj errory jak coś nie tak będzie

 

Odnośnik do komentarza
https://skript.pl/temat/11963-help/#findComment-85194
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ę...