variables: {cobblex.%player%} = 1 command /cobblex: permission: cobblex.use trigger: player has 576 cobblestone: remove 576 cobblestone from player clear {cobblex.%player%} wait a tick set {cobblex.%player%} to a random integer from 1 to 3 if {cobblex.%player%} is 1: send "&aWylosowano 1 Cobblex!" give a 129 of sharpness 5 named "&2Cobblex" to the player if {cobblex.%player%} is 2: send "&aWylosowano 2 Cobblex." give a 129 of sharpness 5 named "&2Cobblex" to the player if {cobblex.%player%} is 3: send "&aWylosowano 3 Cobblex!" give a 129 of sharpness 5 named "&2Cobblex" to the player give a 129 of sharpness 5 named "&2Cobblex" to the player give a 129 of sharpness 5 named "&2Cobblex" to the player else: send "&aCraft&fScore&7.pl &cNie posiadasz 9 stakow bruku." on rightclick: player is holding a emerald ore named "&2CobbleX": give a random item of {cobblelose::*} to player send "&aWylosowano przedmiot!" wait a tick remove 1 129 of sharpness 5 named "&aCobbleX" from player command /cobblea [] []: permission: cobble.admin trigger: argument 1 is not "help", "add" or "remove": send "&aCraft&fScore&7.pl &cNieprawidlowa komenda." stop argument 1 is "help": send "(&cCobbleX&7) &7- Panel administratora" send "&4/cobblea add &7 - Dodanie nowego item'a do losowania." send "&4/cobblea remove &7 - Usuwanie item'a z losowania" send "&4Lista item'ow z losowania:&c %{cobblelose::*}%" argument 1 is "add": if argument 2 is not set: send "&aCraft&fScore&7.pl &cMusisz wpisac nazwe przedmiotu." else: add argument 2 to {cobblelose::*} send "&aDodano '%arg 2%' do CobbleX" argument 1 is "remove": if argument 2 is not set: send "&aCraft&fScore&7.pl &cMusisz wpisac nazwe przedmiotu." else: remove argument 2 from {cobblelose::*} send "&cUsunieto ' %arg 2% ' z cobblex"