source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been banned from the server for exceeding the warning limit (%d warnings).",player->name.size(),player->name.ptr(),warns));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been banned from the server for exceeding the warning limit (%d warnings).",player->name.size(),player->name.ptr(),reason.size(),reason.ptr(),warns));
server->sendMessage(*player,Jupiter::StringS::Format("You have been warned by %.*s@IRC; improve your behavior, or you will be disciplined. You have %d warnings.",nick.size(),nick.ptr(),warns));
server->sendWarnMessage(*player,Jupiter::StringS::Format("You have been warned by %.*s@IRC for: %.*s. You have %d warnings.",nick.size(),nick.ptr(),reason.size(),reason.ptr(),warns));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been warned; they now have %d warnings.",player->name.size(),player->name.ptr(),warns));
source->sendMessage(*target,Jupiter::StringS::Format("You have been warned by %.*s; improve your behavior, or you will be disciplined. You have %d warnings.",player->name.size(),player->name.ptr(),warns));
source->sendWarnMessage(*target,Jupiter::StringS::Format("You have been warned by %.*s for: %.*s. You have %d warnings.",player->name.size(),player->name.ptr(),reason.size(),reason.ptr(),warns));
source->sendMessage(*player,Jupiter::StringS::Format("%.*s has been warned; they now have %d warnings.",target->name.size(),target->name.ptr(),warns));
}
}
}
else
source->sendMessage(*player,"Error: Too few parameters. Syntax: Warn <Player>"_jrs);
source->sendMessage(*player,"Error: Too few parameters. Syntax: Warn <Player> <Reason>"_jrs);