mhr8qE4z
Język: Skript
|
Autor: Anonimowy
variables: {premiumcase.notifications.%player%} = true options: tag: &9&lPREMIUMCASE &8»&7 tagnocheck: &9&lPREMIUMCASE&7 wwwtag: &9&lWWW&7 www: kutas-kozla.eu blank: &8 command /case [<text>] [<integer>]: permission: premium.admin trigger: if arg-1 is not set: send "&7Poprawne uzycie &c/case nick/all ilosc" if arg-1 is set: if arg-2 is not set: send "&7Poprawne uzycie &c/case nick/all ilosc" if arg-1 is not "all": if arg-2 is set: loop arg-2 times: execute console command "give %arg 1% chest 1 name:&9&lPremiumCase" broadcast "&2&lGBMC.PL &8-> &eOtrzymales &c%arg 2% &9&lPremiumCase" if arg-1 is "all": if arg-2 is set: loop arg-2 times: loop all players: execute console command "give %loop-player% chest 1 name:&9&lPremiumCase" broadcast "&2&lGBMC.PL &8-> &eCaly serwer dostal &c%arg 2% &9&lPremiumCase" on place: if player is holding a chest named "&9&lPremiumCase": cancel event remove 1 chest named "&9&lPremiumCase" from player chance of 20%: drop 1 diamond helmet of protection 4 and unbreaking 3 drop 1 diamond chestplate of protection 4 and unbreaking 3 loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &eHelm 4/3" send " &4&l» &f1 &7x &eKlate 4/3" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 20%: drop 1 diamond leggings of protection 4 and unbreaking 3 drop 1 diamond boots of protection 4 and unbreaking 3 loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &eSpodnie 4/3" send " &4&l» &f1 &7x &eButy 4/3" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 35%: drop 1 diamond sword of sharpness 5 and fire aspect 2 drop 1 diamond sword of sharpness 5 and knockback 2 loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &eMiecz 5/2" send " &4&l» &f1 &7x &eMiecz knock 2" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 27%: drop 1 bow of punch 2 and unbreaking 3 and infinity 1 drop 16 emerald blocks loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &cLuk 3/2/1" send " &4&l» &f16 &7x &2Blokow szmaragdow" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 26%: drop 1 bow of power 5 and unbreaking 3 and flame 1 and infinity 1 drop 20 emerald blocks loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &cLuk 5/3/1/1" send " &4&l» &f20 &7x &2Blokow szmaragdow" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 25%: drop 32 emerald blocks drop 16 gold block loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f32 &7x &2Blokow szmaragdow" send " &4&l» &f16 &7x &6Blokow zlota" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 24%: drop 32 tnt drop 2 tnt of power 1 named "&4Rzucane TnT" loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f2 &7x &4Rzucane TnT" send " &4&l» &f32 &7x &cTnT" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 2%: drop 1 beacon drop 24 diamond block loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &d&lBE&E&lAC&2&lON" send " &4&l» &f24 &7x &3Blokow Diamentow" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 5%: drop 1 diamond sword of sharpness 6 and fire aspect 2 drop 1 tnt of power 1 named "&4Rzucane TnT" loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &dMiecz 6/2" send " &4&l» &f1 &7x &4Rzucane TnT" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 5%: drop 1 diamond sword of knockback 3 drop 24 tnt loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &dMiecz knock 3" send " &4&l» &f24 &7x &cTnT" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}" chance of 15%: drop 1 potion of:8201 drop 12 emerald blocks loop all players: if {premiumcase.notifications.%loop-players%} is true: send "{@blank}" send " &a%player% &7otworzyl {@tagnocheck} i dostal:" send " &4&l» &f1 &7x &bPotke silka I" send " &4&l» &f12 &7x &2Blokow szmaragdow" send "{@blank}" send " {@tagnocheck} zakupisz za &6PSC&7/&6PAYPAL&7/&6SMS" send " {@wwwtag} : {@www}" send "{@blank}"