reason_arg = 2;
GET_BAN_ARG(bantime, autocvar_g_ban_default_bantime);
- GET_BAN_REASON(reason, "No reason provided.");
+ GET_BAN_REASON(reason, "No reason provided");
Ban_Insert(ip, bantime, reason, 1);
return;
print("Incorrect parameters for ^2ban^7\n");
case CMD_REQUEST_USAGE:
{
- print("\nUsage:^3 sv_cmd ban address [time] reason\n");
- print(" No arguments required.\n");
+ print("\nUsage:^3 sv_cmd ban address [time] [reason]\n");
+ print(" No arguments required. todo\n");
return;
}
}
print("Incorrect parameters for ^2kickban^7\n");
case CMD_REQUEST_USAGE:
{
- print("\nUsage:^3 sv_cmd kickban client [bantime masksize reason]\n");
+ print("\nUsage:^3 sv_cmd kickban client [bantime] [masksize] [reason]\n");
print(" No arguments required. todo\n");
return;
}