acaudit migration to audit command

This commit is contained in:
kinther 2025-12-29 18:12:25 -08:00
parent 3344074ea2
commit 1aa14abdb4
5 changed files with 21 additions and 8 deletions

View file

@ -6186,9 +6186,20 @@ static const char *slot_name_from_index(int idx) {
}
/* Wizard command: scan armor prototypes, validate per-piece fields (compact, paged, 25 lines) */
ACMD(do_acaudit)
ACMD(do_audit)
{
int found = 0, warned = 0;
char arg[MAX_INPUT_LENGTH];
one_argument(argument, arg);
if (!*arg) {
send_to_char(ch, "Audit what?\r\n");
return;
}
if (!is_abbrev(arg, "ac")) {
send_to_char(ch, "Usage: audit ac\r\n");
return;
}
if (IS_NPC(ch) || GET_LEVEL(ch) < LVL_IMMORT) {
send_to_char(ch, "You lack the authority to use this.\r\n");