options: tag: &a[&f&lChat&a] command /chat [] []: permission: setting.chat permission message: {@tag} &7 Brak pozwolenia trigger: if arg-1 is not set: send "&8&l-----------------{@tag}&8&l-----------------------" send "" send " &7&l> &b/chat clear/cc &8-&f Czyszczenie chatu." send " &7&l> &b/chat on &8-&f Włączenie chatu." send " &7&l> &b/chat off &8-&f Wyłączenie chatu" send " &7&l> &b/chat slow&f [on/off] &8-&f Spowolnienie chatu [włączone/wyłączone]" send "" send "&8&l-----------------{@tag}&8&l-----------------------" if arg-1 is "on": set {chat.status} to "true" broadcast "{@tag}&7 Chat został włączony przez &a&l%player%" stop if arg-1 is "off": set {chat.status} to "false" broadcast "{@tag}&7 Chat został wyłączony przez &a&l%player%" stop if arg-1 is "clear" or "cc": loop 200 times: send "" to all players broadcast "{@tag}&7 Chat został wyczyszczony" stop if arg-1 is "slow": if arg-2 is "off": set {chat.slow} to "false" broadcast "{@tag} &7Spowolniony chat został wyłączony" if arg-2 is "on": set {chat.slow} to "true" broadcast "{@tag}&7Spowolniony chat został włączony" on chat: if {chat.status} is "false": if player doesn't have permission "chat.bypass": broadcast "{@tag}&7 Chat jest wyłączony" cancel event if {chat.slow} is "true": {epcd.%player%.lastused} was less than 10 seconds ago: set {_epdiff} to difference between {epcd.%player%.lastused} and now if {_epdiff} is less than 10 seconds: set {_epdiff} to difference between {_epdiff} and 10 seconds send "{@tag} &7Nie możesz wysłać kolejnej wiadomości przez &e&L%{_epdiff}%&f" cancel event stop set {epcd.%player%.lastused} to now