################################################# ################ nChat by nowus ################# ################################################# on join: if player has permission "nChat.gracz": set {ranga.%player%} to "gracz" if player has permission "nChat.vip": set {ranga.%player%} to "vip" if player has permission "nChat.evip": set {ranga.%player%} to "evip" if player has permission "nChat.sponsor": set {ranga.%player%} to "sponsor" if player has permission "nChat.admin": set {ranga.%player%} to "admin" if player has permission "nChat.wlasciciel": set {ranga.%player%} to "wlasciciel" on chat: if {ranga.%player%} is "gracz": cancel event broadcast "&7[&6Gracz&7] &5%player%&7: &f%message%" if {ranga.%player%} is "vip": cancel event broadcast "&7[&3VIP&7] &5%player%&7: &f%message%" if {ranga.%player%} is "evip": cancel event broadcast "&7[&6E&3Vip&7] &5%player%&7: &f%message%" if {ranga.%player%} is "sponsor": cancel event broadcast "&7[&5Sponsor&7] &6%player%&7: &f%message%" if {ranga.%player%} is "admin": cancel event broadcast "&7[&4&lAdmin&7] &5%player%&7: &f%message%" if {ranga.%player%} is "wlasciciel": cancel event broadcast "&7[&4&lWLASCICIEL&7]&6&m--&6>&3%player%&6<&6&m--&7: &5%coloured message%" on any move: if player has permission "nChat.gracz": set {ranga.%player%} to "gracz" if player has permission "nChat.vip": set {ranga.%player%} to "vip" if player has permission "nChat.evip": set {ranga.%player%} to "evip" if player has permission "nChat.sponsor": set {ranga.%player%} to "sponsor" if player has permission "nChat.admin": set {ranga.%player%} to "admin" if player has permission "nChat.wlasciciel": set {ranga.%player%} to "wlasciciel"