function onPlayerChats() { if (player.chat == "banlist") { sendRPGMessage("<b>Banned players:</b>"); for (temp.acc : this.banned) { sendRPGMessage(acc); } } }