Options: # tu musisz wpisac jak chcesz zeby wygladal czat dalej rangi. Wpisalem ci tylko wzor admina reszte sam sobie pozmieniaj admin.chat: &c[&4Admin&c] &8{PLAYER} &e> &8{MESSAGE} mod.chat: &8{PLAYER} &e> &8{MESSAGE} kidmod.chat: &8{PLAYER} &e> &8{MESSAGE} helper.chat: &8{PLAYER} &e> &8{MESSAGE} gracz.chat: &8{PLAYER} &e> &8{MESSAGE} on chat: # funkcja czatu cancel event if player has permission "admin.rank": set {_chat} to "{@admin.chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} broadcast "%{_chat}%" if player has permission "mod.rank": set {_chat} to "{@mod.chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} broadcast "%{_chat}%" if player has permission "kidmod.rank": set {_chat} to "{@kidmod.chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} broadcast "%{_chat}%" if player has permission "helper.rank": set {_chat} to "{@helper.chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} broadcast "%{_chat}%" if player doesn't have permission: set {_chat} to "{@gracz.chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} broadcast "%{_chat}%"