variables: {friend::%player%} = false on damage: if victim is player: if {friend::%player%} = true cancel event command /przyjaciel [] []: trigger: if arg 1 is "%player%": if arg 2 is "dodaj": set {friend::%player%} to true send "&f&l* &2Zaprzyjazniles sie z %player% &f&l*" send "&2Gracz %player% zostal twoim przyjacielem" if arg 2 is "usun": set {friend::%player%} to false send "&2Zerwales przyjazn z %player% :("