variables: {pandora} = true options: pierog: dragon egg nazwa: &bPierozek lore: &6Moga wyleciec negatywne i pozytywne rzeczy !||&6Postaw mnie !||&5Postaw mnie !||&2Postaw mnie ! sk: Pierog version: 1.9 command /pandora [] [] []: if player has permission "Admin": trigger: if arg 1 is not set: send "&c/&1pandora &c<&1all&c/&1give&c/&1on&c/&1off&c> <&1nick&c>" if arg 1 is "all": if arg 3 is not set: broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&4Za &c10 sekund &4zostanie rozdany &61 &4pierozek !" broadcast "&6 " wait 10 seconds give 1 dragon egg of knockback 1 named "{@nazwa}" with lore "{@lore}" to all players send "&cDales pierozka wszystkim graczom" if arg 1 is "all": if arg 3 is "5": broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&4Za &c10 sekund &4zostanie rozdane &65 &4pierozkow !" broadcast "&6 " wait 10 seconds send "&cDales 5 pierozkow wszystkim graczom" loop 5 times: give 1 dragon egg of knockback 1 named "{@nazwa}" with lore "{@lore}" to all players if arg 1 is "give": if arg 3 is not set: if player-arg is set: give 1 dragon egg of knockback 1 named "{@nazwa}" with lore "{@lore}" to player-arg send "&cDales pierozka graczowi &6%player-arg%" else: send "&cPodaj nick gracza" if arg 1 is "give": if arg 3 is "5": if player-arg is set: loop 5 times: give 1 dragon egg of knockback 1 named "{@nazwa}" with lore "{@lore}" to player-arg send "&cDales pierozka graczowi &6%player-arg%" else: send "&cPodaj nick gracza" if arg 1 is "on": set {pandora} to true broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " wait 1 seconds broadcast "&cPandory zostaly wlaczone !" broadcast "&cZachecamy do ich kupna na stronie" broadcast "&6www.leksylia.pl" if arg 1 is "off": set {pandora} to false broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " broadcast "&6 " wait 1 seconds broadcast "&cPandory zostaly wylaczone !" lace of {@pierog}: if {pandora} is true: wait 1 tick set block to air loop 2 times: create a fake explosion set {los} to a random integer between 2 and 15 {los} is 2: drop 5 bookshelf broadcast "&6Gracz &c%player% &6Wylosowal:&c&l 5 Biblioteczek" {los} is 3: spawn 1 zombie at the player equip the last spawned entity with all diamond armour of protection 4 set the last spawned entity's max health to 1000 set name of spawned entity to "&dPedalek" broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Pedalka" {los} is 4: drop 8 golden apple broadcast "&6Gracz &c%player% &6Wylosowal:&c&l 8 Reflili" {los} is 5: drop 1 enchanted golden apple broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Koxa" {los} is 6: drop 3 dragon egg of knockback 1 named "{@nazwa}" with lore "{@lore}" broadcast "&6Gracz &c%player% &6Wylosowal:&c&l 3 Kolejne pandory" {los} is 7: spawn 1 creeper at the player set the last spawned entity's max health to 100 set name of spawned entity to "&2Ogoreeek" broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Ogorkaa" {los} is 8: drop 1 paper named "&6Voucher VIP" with lore " &c» &1Kliknij PPM|| &c» &1Aby uzyskac VIPa!|| &c» &1Na okres 1 dnia!" broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Voucher na VIPa" {los} is 9: drop 1 diamond sword of sharpness 5, fire aspect 2 broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Miecz 5/2" {los} is 10: drop 1 diamond chestplate of protection 4, unbreaking 3 broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Klate 4/3" {los} is 11: drop 1 diamond boots of protection 4, unbreaking 3 broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Buty 4/3" {los} is 12: drop 1 diamond helmet of protection 4, unbreaking 3 broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Helm 4/3" {los} is 13: drop 1 paper named "&2Kolorowy Nick" with lore " &c» &1Kliknij PPM|| &c» &1Aby uzyskac Kolorowy nick!|| &c» &1Na okres I Edycji!" broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Kolorowy Nick" {los} is 14: drop 1 diamond leggings of protection 4, unbreaking 3 broadcast "&6Gracz &c%player% &6Wylosowal:&c&l Spodnie 4/3" {los} is 15: drop 1 paper named "&cTurboDrop" with lore " &c» &1Kliknij PPM|| &c» &1Aby uzyskac TurboDrop!|| &c» &1Na okres 10 minut!" broadcast "&6Gracz &c%player% &6Wylosowal:&c&l TurboDrop" else: cancel event send "&cPandory sa tymczasowo &4OFF &c!"