on rightclick: if clicked block is sign: if line 1 of the clicked block is "&b&l[SKLEP]": if line 2 of the clicked block is "&6&lSzpadel": if line 3 of the clicked block is "&6&lMocy": if player has 265 block of diamond: remove 265 block of diamond from the player give 1 277 of sharpness 10 and fire aspect 6 and effifiency 10 and silk touch 10 and fortune 10 named "&b&lSzpadel mocy gracza:&2&l %player%" to the player send "&bKupiles: &6&lSzpadel mocy gracza:&2&l %player%&b!" broadcast "&bGracz %player% kupil: &6&lSzpadel mocy gracza:&2&l %player%&b za 265 bloki diax !" else: send "&cNie stac cie ! &b[Potrzeba 265 bloki diax!] !"Error can't be added to a player becouse the former isneither an item type , an inventory nor experience point