variables: {slowmode} = true {spam.%player%} = true #WiadomoĊ›ci options: Join: &7%player% &cWbil na serwer Leave: &7%player% &cOpuscil nasz serwer slowmodetime: 5 chatc: &7Chat zostal wyczyszczony przez: &c%player% bc: &7[&cTwojSerwer.pl&7] on join: set join message to "{@Join}" on quit: set leave message to "{@Leave}" command /bc []: permission: saixer.chat trigger: broadcast "{@bc} &7%coloured arg%" on chat: replace all "A" with "a" in the message replace all "B" with "b" in the message replace all "C" with "c" in the message replace all "D" with "d" in the message replace all "E" with "e" in the message replace all "F" with "f" in the message replace all "G" with "g" in the message replace all "H" with "h" in the message replace all "I" with "i" in the message replace all "J" with "j" in the message replace all "K" with "k" in the message replace all "I" with "i" in the message replace all "L" with "l" in the message replace all "M" with "m" in the message replace all "N" with "n" in the message replace all "O" with "o" in the message replace all "P" with "p" in the message replace all "R" with "r" in the message replace all "S" with "s" in the message replace all "T" with "t" in the message replace all "U" with "u" in the message replace all "W" with "w" in the message replace all "Y" with "y" in the message replace all "Z" with "z" in the message replace all "X" with "x" in the message stop on chat: if {slowmode} is true: if player don't have permission "Saixer.chat": if {spam.%player%} is true: cancel event send "&7Nastepna wiadomosc bedziesz mogl wyslac za: &c{@slowmodetime} &7sekund!" set {spam.%player%} to true wait {@slowmodetime} seconds set {spam.%player%} to false stop command /chat []: permission: saixer.chat permission message: &cNie masz dostepu do tej komendy trigger: if arg 1 is not set: send "&7Wszyskie komendy znajdziesz pod: &c/chat pomoc" stop if arg 1 is "pomoc": send "&7/chat c &8- &cCzysci chat." send "&7/chat info &8- &cInformacje o skripcie." stop if arg 1 is "c" or "wyczysc": loop 100 times: broadcast "" broadcast "{@chatc}" stop if arg 1 is "info": send "&7Nazwa: &cSaixerChati" send "&7Wersja: &c1.0 BETA" send "&7Autor: &cSaixer" stop