variables: {warn::%player%} = 0 command /warn [] [] []: trigger: if arg 1 is set: if arg 2 is set: if arg 3 is set: if arg 1 is "add": add 1 to {warn::%arg 2%} send " " to all players send "&3Gracz &b&n%arg 2%&r &3zostal ostrzezony!" to all players send "&3Administrator: &b&n%player%&r" to all players send "&3Powod: &b%arg 3%" to all players send " " to all players stop else: send "&cPoprawne uzycie: " to player else: send "&cPoprawne uzycie: " to player else: send "&cPoprawne uzycie: " to player if arg 1 is set: if arg 2 is set: if arg 1 is "del": set {warn::%arg 2%} to 0 send " " to all players send "&3Administrator: &b&n%player%&r &3usunal ostrzezenia gracza: &b&n%arg 2%&r&3!" to all players send " " to all players stop else: send "&cPoprawne uzycie: " to player else: send "&cPoprawne uzycie: " to player if arg 1 is set: if arg 2 is set: if arg 1 is "check": send " " to player send "&3Gracz &b&n%arg 2%&r &3posiada: &b&n%{warn::%arg 2%}%&r &3ostrzezenia!" to player send " " to player stop else: send "&cPoprawne uzycie: " to player else: send "&cPoprawne uzycie: " to player