Isso é nas souces se caso tiver:
Em chat .cpp procure isso:
bool ChatChannel::talk
Nessa função ache:
if(it == m_users.end())
return false;
Pule 2 linhas e coloque isso:
SpeakClasses ntype = type;
uint16_t channelId = getId();
if (channelId == 5) {
if (player->getGroupId() == 6) {
ntype = SPEAK_CHANNEL_RN;
}
else if (player->getGroupId() == 5) {
ntype = SPEAK_CHANNEL_RN;
}
else if (player->getGroupId() == 4) {
ntype = SPEAK_CHANNEL_RN;
}
else if(player->getGroupId() >= 2) {
ntype = SPEAK_CHANNEL_O;
}
}
Agora ache:
it->second->sendToChannel(player, type, text, m_id, _time);
E troque por:
it->second->sendToChannel(player, ntype, text, m_id, _time);
Como editar os grupos da staff:
(player->getGroupId() == 5) O Cinco é o grupo no caso CM
Como editar o chat id:
if (channelId == 5) { - Aqui é o chat Id se não me engano é o Trade-Rookboard algo assim pelo menos no meu ai você troca pelo que você quiser.
E basta compilar