function DajOstrzezenie(ilosc: number, gracz: player): add {_ilosc} to {ostrzezenia.%{_gracz}%} if {ostrzezenia.%{_gracz}%} >= 3: execute console command "ban %{_gracz}% test" delete {ostrzezenia.%{_gracz}%} send "&aDostales ostrzezenie! [%{ostrzezenia.%{_gracz}%}%/3]" to {_gracz} command /ost [] []: trigger: if arg 1 is set: if arg 2 is set: DajOstrzezenie(arg 1, arg 2) send "%arg 2% otrzymal ostrzezenie!" else: send "&cPodaj nick gracza!" stop else: send "Podaj ilosc ostrzezen!" stop