options: #ZMIENNE! ClearMSG: &c&k; &6Chat zostal wyczyszczony ! #Wiadomosc przy komendzie /chat clear ] []: #Nie edytowac bez zgody autora! permission: cc.* permission message: "&cBrak permisij!" trigger: if arg 1 is not set: send "&c&k; &9- - - - &6Chat &9- - - - &c&k;" send "&2» &6/chat autor &c- &5Autor Skryptu" send "&2» &6/chat off &c- &5Wylacza chat" send "&2» &6/chat on &c- &5Wlacza chat" send "&2» &6/chat clear &c- &5Czysci chat" send "&c&k; &9- - - - &6Chat &9- - - - &c&k;" stop if arg 1 is not "autor" or "off" or "on" or "clear": send "&c&k; &9- - - - &6Chat &9- - - - &c&k;" send "&2» &6/chat autor &c- &5Autor Skryptu" send "&2» &6/chat off &c- &5Wylacza chat" send "&2» &6/chat on &c- &5Wlacza chat" send "&2» &6/chat clear &c- &5Czysci chat" send "&c&k; &9- - - - &6Chat &9- - - - &c&k;" stop if arg 1 is "autor": send "&c&k; &9- - - - &6Chat &9- - - - &c&k;" send "&2» &6Autorem skryptu jest &3VegasStudio &6!" send "&2» &6Zostal on stworzony dla &bNext&cLevel &6!" send "&2» &6Edytowanie bez zgody autora zabronione !" send "&c&k; &9- - - - &6Chat &9- - - - &c&k;" stop if arg 1 is "on": if {ch.at} is on: send "c&k; &9- - - - &6Chat &9- - - - &c&k;" send " &cChat juz jest &awlaczony!" send "c&k; &9- - - - &6Chat &9- - - - &c&k;" stop else: set {ch.at} to "on" broadcast "{@on}" stop if arg 1 is "off": if {ch.at} is off: send "c&k; &9- - - - &6Chat &9- - - - &c&k;" send " &cChat juz jest &4wylaczony!" send "c&k; &9- - - - &6Chat &9- - - - &c&k;" stop else: set {ch.at} to "off" broadcast "{@off}" stop if arg 1 is "clear": loop 50 times: broadcast " " broadcast "{@ClearMSG}" stop on chat: if player don`t have permission "cc.*": cancel event send "&cChat jest wylaczony!" stop