command /rek []: trigger: if player has permissions "reklama.cmd": if arg 1 is set: if arg 1 is not "Wpisz tutaj swój nick": execute server command "ban %arg-player% Reklama" execute server command "ban-ip %arg-player% Reklama" loop 123 times: broadcast "" send players title "&8* &4&lREKLAMA &8*" with subtitle "&8» &7Chat zostal &f&lwyczyszczony&7!" stop if arg 1 is "Wpisz tutaj swój nick": send player title "&8* &4&lREKLAMA &8*" with subtitle "&8» &4Blad: &cNie mozesz zbanowac %arg-player%!" stop if arg 1 is not set: send player title "&8* &4&lREKLAMA &8*" with subtitle "&8» &7Poprawne uzycie&8: &c/rek " stop else: send player title "&8* &4&lREKLAMA &8*" with subtitle "&8» &4Blad: &cNie masz uprawnien do tej komendy! &8(&freklama.cmd&8)" stop