в ласт релизах брт бота, вроди реализована ета команда, думаю тебе стоит сначало его скачать, и попытатся выпилить.
!VOTESTART brtGhost game.cpp Код: // // !VOTESTART // else if ( Command == "votestart" && !player->GetStartVote() && Payload.empty( ) ) { player->SetStartVote( true ); SendAllChat( tr("1510", player->GetName())); int start_voted = 0; for (vector<CGamePlayer*>::iterator i = m_Players.begin(); i != m_Players.end(); ++i) if ((*i)->GetStartVote()) ++start_voted; if ( m_Players.size() > 2 && start_voted == m_Players.size() && !m_CountDownStarted ) StartCountDown( false ); } !NOTVOTED for start !NV brtGhost game.cpp Код: // // !NOTVOTED for start !NV // else if ( Command == "notvoted" || Command == "nv" && Payload.empty( ) ) { string not_voted_players; for (vector<CGamePlayer*>::iterator i = m_Players.begin(); i != m_Players.end(); ++i) if (!(*i)->GetStartVote()) { not_voted_players += (*i)->GetName(); if (i != m_Players.end() - 1) not_voted_players += ","; } if (!not_voted_players.empty()) SendAllChat( tr("lang_1220", not_voted_players)); }
Мля ну не ужели так сложно юзать поиск customization/sozda-m-kommandu-dlya-starta-po-golosovaniyu-t1520.html