command /napraw: aliases: /repair trigger: if player's tool is not air: if player's level is bigger than 39: if player has diamond: repair player's tool set {_max} to amount of all diamonds in player's inventory set {_ilosc} to a random integer between 1 and {_max} remove {_ilosc} diamond from player remove 39 from player's level send "&6Pomyslnie naprawiono twoj przedmiot" stop else: send "&4Blad: &cMusisz posiadac &bdiamenty." stop else: send "&4Blad: &cMusisz posiadac 39 poziom" stop else: send "&4Blad: &cNie masz zadnego przedmiotu w rece." stop