# Autor: SernickLOL # Wersja: Beta / do moderacji command /chat []: trigger: if argument 1 is "pomoc" or "help": send "&c===&6Komendy czatu&c===" to the player send "&c/chat wyczysc - Czysci chat" to the player send "&cjesli nie podasz czasu, gracz zostanie wyciszony na zawsze" to the player send "&c/chat off/on - wlacza lub wylacza chat" to the player if argument 1 is "wyczysc" or "clear": if player has permission "sernick.chat": loop 128 times: send "" send "&cChat zostal wyczyszczony przez &3%player%&c!" send "&cChat zostal wyczyszczony przez &3%player%&c!" to the console if argument 1 is "off" or "wylacz": if player has permission "sernick.chat": set {chat} to false send "&cChat zostal wylaczony przez &3%player%&c!" send "&cChat zostal wylaczony przez &3%player%&c!" to the console if argument 1 is "on" or "wlacz": if player has permission "sernick.chat": set {chat} to true send "&cChat zostal wlaczony przez &3%player%&c!" send "&cChat zostal wlaczony przez &3%player%&c!" to the console if argument 1 is not set: send "&cPoprawne uzycie: /chat pomoc" to the player if argument 1 is "autor": send "&3[&6SChat&3] &cAutorem skryptu jest &3SernickLOL" on chat: if {chat} is false: cancel event send "&cChat jest &4Wylaczony!" to the player else: if {chat} is true