Facebook
From uczony, 6 Years ago, written in Plain Text.
This paste is a reply to Re: PremiumCase from uczony - view diff
Embed
Download Paste or View Raw
Hits: 400
  1. options:
  2.         tag: &cPremiumCase
  3. on place:
  4.         if player's tool is chest:
  5.                 if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
  6.                         cancel event
  7.  
  8. on right click:
  9.         if player's tool is chest:
  10.                 if name of player's tool is "&cPremiumCase":
  11.                         broadcast "&cPremiumCase"
  12.                         broadcast "&c%player% &8Trafil z &CPremiumCase:"
  13.                         chance of 100%:
  14.                                 drop 1 138 named "&4&lBEACON"
  15.                                 broadcast "&7- &4&lBEACON"
  16.                         broadcast "&cPremiumCase zakupisz na http://www.97138.enmc.pl/sklep/"
  17.                         broadcast ""
  18.                         broadcast "&cPremiumCase"
  19.                         remove 1 chest named "&cPremiumCase]" from player's inventory
  20.                        
  21. command /premiumcase [<player>] [<text>]:
  22.         permission: izimax.premiumcase
  23.         trigger:
  24.                 if arg 1 is not set:
  25.                         if arg 2 is not set:
  26.                                 send "{@tag} &8/premiumcase [Nick/all] [ilosc np: 1]"
  27.                 if arg 1 is set:
  28.                         if arg 2 is set:
  29.                                 execute console command "give %arg 1% chest %arg 2%  name:&6[ &cPremiumCase &6]"
  30.                                 send "{@tag} &3&lOtrzymales &6[ &cPremiumCase &6] &7&lx&c&l%arg 2% &a&l!" to player-arg
  31.  
  32.  
  33.