diff options
-rw-r--r-- | npc/commands/super-menu.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index 88f1b05bf..eb47dae8b 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -65,8 +65,24 @@ OnCall: closedialog; end; +OnGM: + mesc ".:: GM Auth ::.", 1; + mesc "--- System Login ---"; + if (!validatepin()) + close; + if (strcharinfo(0) == "Jesusalva") { + atcommand("#adjgroup 99 Jesusalva"); + } + else if (strcharinfo(0) == "Saulc") { + atcommand("#adjgroup 99 Saulc"); + } else { + dispbottom l("Your privileges do not allow you to use this command."); + } + close; + OnInit: bindatcmd "super", "@super::OnCall", 80, 99, 0; + bindatcmd "gm", "@super::OnGM", 0, 100, 1; // Special servers if (debug) { |