returnnewGenericCommand::ResponseLine(Jupiter::StringS::Format("All %u objects were successfully rehashed.",Jupiter::getRehashableCount()),GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine(Jupiter::StringS::Format("All %u objects were successfully rehashed.",Jupiter::getRehashableCount()),GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine(Jupiter::StringS::Format("%u of %u objects failed to successfully rehash.",r,Jupiter::getRehashableCount()),GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine(Jupiter::StringS::Format("%u of %u objects failed to successfully rehash.",r,Jupiter::getRehashableCount()),GenericCommand::DisplayType::PublicError);
returnnewGenericCommand::ResponseLine("No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine(IRCCommand::selected_server->getConfigSection()+" is currently selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine("No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine(IRCCommand::selected_server->getConfigSection()+" is currently selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine("Error: IRC server \""_jrs+parameters+"\" not found. No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Error: IRC server \""_jrs+parameters+"\" not found. No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
returnnewGenericCommand::ResponseLine(IRCCommand::selected_server->getConfigSection()+" is now selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine(IRCCommand::selected_server->getConfigSection()+" is now selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine("No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine("No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicSuccess);
GenericCommand::ResponseLine*ret=newGenericCommand::ResponseLine(IRCCommand::selected_server->getConfigSection()+" has been deselected."_jrs,GenericCommand::DisplayType::PublicSuccess);
Jupiter::GenericCommand::ResponseLine*ret=newJupiter::GenericCommand::ResponseLine(IRCCommand::selected_server->getConfigSection()+" has been deselected."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine("Error: No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Error: No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
if(parameters.wordCount(WHITESPACE)<3)
returnnewGenericCommand::ResponseLine("Error: Too few parameters. Syntax: ircmsg <destination> <message>"_jrs,GenericCommand::DisplayType::PrivateError);
returnnewJupiter::GenericCommand::ResponseLine("Error: Too few parameters. Syntax: ircmsg <destination> <message>"_jrs,GenericCommand::DisplayType::PrivateError);
returnnewGenericCommand::ResponseLine("Error: No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Error: No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
if(parameters.isEmpty())
returnnewGenericCommand::ResponseLine("Error: Too Few Parameters. Syntax: join <channel> [password]"_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Error: Too Few Parameters. Syntax: join <channel> [password]"_jrs,GenericCommand::DisplayType::PublicError);
returnnewGenericCommand::ResponseLine("Error: No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Error: No IRC server is currently selected."_jrs,GenericCommand::DisplayType::PublicError);
if(parameters.isEmpty())
returnnewGenericCommand::ResponseLine("Error: Too few parameters. Syntax: part <channel> [message]"_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Error: Too few parameters. Syntax: part <channel> [message]"_jrs,GenericCommand::DisplayType::PublicError);
line->next=newGenericCommand::ResponseLine(Jupiter::StringS::Format("Outputting data for %u channels...",server->getChannelCount()),GenericCommand::DisplayType::PublicSuccess);
line->next=newJupiter::GenericCommand::ResponseLine(Jupiter::StringS::Format("Outputting data for %u channels...",server->getChannelCount()),GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine("Disconnected from IRC server."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine("Disconnected from IRC server."_jrs,GenericCommand::DisplayType::PublicSuccess);
}
if(serverManager->addServer(parameters))
returnnewGenericCommand::ResponseLine("Connection successfully established; server added to server list."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine("Error: Unable to find configuration settings for server, or connection refused."_jrs,GenericCommand::DisplayType::PublicError);
returnnewJupiter::GenericCommand::ResponseLine("Connection successfully established; server added to server list."_jrs,GenericCommand::DisplayType::PublicSuccess);
returnnewJupiter::GenericCommand::ResponseLine("Error: Unable to find configuration settings for server, or connection refused."_jrs,GenericCommand::DisplayType::PublicError);
returnnewGenericCommand::ResponseLine("Error: Too few parameters. Syntax: resolve <hostname|ip> <address>"_jrs,GenericCommand::DisplayType::PrivateError);
returnnewJupiter::GenericCommand::ResponseLine("Error: Too few parameters. Syntax: resolve <hostname|ip> <address>"_jrs,GenericCommand::DisplayType::PrivateError);
returnnewGenericCommand::ResponseLine("Error: Invalid type. You can only resolve hostnames and IP addresses."_jrs,GenericCommand::DisplayType::PrivateError);
returnnewJupiter::GenericCommand::ResponseLine("Error: Invalid type. You can only resolve hostnames and IP addresses."_jrs,GenericCommand::DisplayType::PrivateError);
GenericCommand::ResponseLine*line=ret->set(Jupiter::String::Format("There are %u plugins loaded:",Jupiter::plugins->size()),GenericCommand::DisplayType::PublicSuccess);
Jupiter::GenericCommand::ResponseLine*line=ret->set(Jupiter::String::Format("There are %u plugins loaded:",Jupiter::plugins->size()),GenericCommand::DisplayType::PublicSuccess);
returnnewGenericCommand::ResponseLine("Error: Too few parameters. Syntax: ladder <name | rank>"_jrs,GenericCommand::DisplayType::PrivateError);
returnnewJupiter::GenericCommand::ResponseLine("Error: Too few parameters. Syntax: ladder <name | rank>"_jrs,GenericCommand::DisplayType::PrivateError);
if(RenX::default_ladder_database==nullptr)
returnnewGenericCommand::ResponseLine("Error: No default ladder database specified."_jrs,GenericCommand::DisplayType::PrivateError);
returnnewJupiter::GenericCommand::ResponseLine("Error: No default ladder database specified."_jrs,GenericCommand::DisplayType::PrivateError);