summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/super-menu.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 11fa3988b..dac9111a4 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -70,6 +70,7 @@ OnGM:
mesc "--- System Login ---";
if (!validatepin())
close;
+ .@auth=true;
if (strcharinfo(0) == "Jesusalva") {
atcommand("#adjgroup 99 Jesusalva");
} else if (strcharinfo(0) == "Saulc") {
@@ -80,7 +81,13 @@ OnGM:
atcommand("#adjgroup 80 demure");
} else {
dispbottom l("Your privileges do not allow you to use this command.");
+ .@auth=false;
}
+ // Handle authentication reports
+ if (.@auth)
+ announce strcharinfo(0)+" has just logged in services.", bc_all;
+ else
+ logmes strcharinfo(0)+" : GM Authentication failed.", LOGMES_ATCOMMAND;
close;
OnInit: