on armor change: if player is wearing all leather armor: "%colour of player's helmet%" contains "white" "%colour of player's chestplate%" contains "white" "%colour of player's leggings%" contains "white" "%colour of player's boots%" contains "white" set {obrona.%player%} to 10 set {leatherArmor::%player%} to true if {obrona.%player%} > 9: set player's max health to 12 else if player is not wearing all leather armor: if {leatherArmor::%player%} is true: remove 10 from {obrona.%player%} set {leatherArmor::%player%} to false set player's max health to 10