diff options
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r-- | npc/commands/super-menu.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index 40cf71141..08e7824e5 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -82,6 +82,9 @@ OnGM: atcommand("#adjgroup demure 80"); } else if (strcharinfo(0) == "jak1") { atcommand("#adjgroup jak1 80"); + // Test Server grants + } else if (strcharinfo(0) == "Kolchak" && debug) { + atcommand("#adjgroup Kolchak 5"); //} else if (strcharinfo(0) == "Former_Cordo") { // atcommand("#adjgroup 60 Former_Cordo"); } else { @@ -89,14 +92,23 @@ OnGM: .@auth=false; } // Handle authentication reports - if (.@auth) + if (.@auth) { announce strcharinfo(0)+" has just logged in services.", bc_all; - else + logmes strcharinfo(0)+" : GM login.", LOGMES_ATCOMMAND; + } else { logmes strcharinfo(0)+" : GM Authentication failed.", LOGMES_ATCOMMAND; + } + close; + +OnGMOff: + if (is_staff()) + logmes strcharinfo(0)+" : GM logout.", LOGMES_ATCOMMAND; + atcommand("@adjgroup 0"); close; OnInit: bindatcmd "super", "@super::OnCall", 80, 99, 0; + bindatcmd "gmoff", "@super::OnGMOff", 5, 100, 1; bindatcmd "gm", "@super::OnGM", 0, 100, 1; // Special servers |