command /przyjaciel [] []: trigger: if arg 1 is "dodaj": if arg 2 is online: if {friend::%player%} is not set: if {friend::%arg 2%} is not set: set {friend::%arg 2%} to player set {friend::%player%} to arg 2 send "&aJestescie przyjaciolmi z: %arg 2%" to player send "&aJestescie przyjaciolmi z: %player%" to arg 2 if arg 1 is "usun": if arg 2 is set: if {friend::%arg 2%} is player: if {friend::%player%} is arg 2: clear {friend::%player%} clear {friend::%arg 2%} send "&cKlotnia..." to arg 2 send "&cKlotnia..." to player on damage of player: if attacker is player: if {friend::%attacker%} is victim: cancel event send "&cChcesz zabic przyjaciela? :O"