-void ClientCommand_checkfail(float request, string command) // internal command, used only by code
-{
- switch(request)
- {
- case CMD_REQUEST_COMMAND:
- {
- LOG_INFOF("CHECKFAIL: %s (%s) epically failed check %s\n", self.netname, self.netaddress, substring(command, argv_start_index(1), argv_end_index(-1) - argv_start_index(1)));
- self.checkfail = 1;
- return; // never fall through to usage
- }
-
- default:
- sprint(self, "Incorrect parameters for ^2checkfail^7\n");
- case CMD_REQUEST_USAGE:
- {
- sprint(self, "\nUsage:^3 cmd checkfail <message>\n");
- sprint(self, " Where 'message' is the message reported by client about the fail.\n");
- return;
- }
- }
-}
-