summaryrefslogtreecommitdiff
path: root/npc/commands/super-menu.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r--npc/commands/super-menu.txt25
1 files changed, 12 insertions, 13 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 7ae8c206e..59598681b 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -82,35 +82,34 @@ OnGM:
}
.@auth=true;
// NOTE: Pihro and Pyndragon do not have player chars
- // FIXME: Use account ID over char name (multi-server stable)
// Administration
- if (strcharinfo(0) == "Jesusalva") { // 0005
+ if (check_nickid("Jesusalva", "0005")) {
setgroupid(99);
- } else if (strcharinfo(0) == "Saulc") { // 0004
+ } else if (check_nickid("Saulc", "0004")) {
setgroupid(99);
// Game Masters
- } else if (strcharinfo(0) == "ThinkSome") { // 0817
+ } else if (check_nickid("ThinkSome", "0817")) {
setgroupid(80);
- } else if (strcharinfo(0) == "demure") { // 0777
+ } else if (check_nickid("demure", "0777")) {
setgroupid(80);
- } else if (strcharinfo(0) == "jak1") { // 0002
+ } else if (check_nickid("jak1", "0002")) {
setgroupid(80);
// Game Officers
- } else if (strcharinfo(0) == "seeds") { // 0409
+ } else if (check_nickid("seeds", "0409")) {
setgroupid(60);
- } else if (strcharinfo(0) == "kytty") { // 0606
+ } else if (check_nickid("kytty", "0606")) {
setgroupid(60);
- } else if (strcharinfo(0) == "cuoco") { // 0620
+ } else if (check_nickid("cuoco", "0620")) {
setgroupid(60);
// Support Staff
- } else if (strcharinfo(0) == "Ledmitz") { // 0585
+ } else if (check_nickid("Ledmitz", "0585")) {
setgroupid((debug ? 5 : 2));
- } else if (strcharinfo(0) == "Meway") { // 1078
+ } else if (check_nickid("Meway", "1078")) {
setgroupid((debug ? 5 : 2));
- } else if (strcharinfo(0) == "HoraK") { // 0008
+ } else if (check_nickid("HoraK", "0008")) {
setgroupid((debug ? 5 : 2));
- } else if (strcharinfo(0) == "Reid") { // 0741
+ } else if (check_nickid("Reid", "0741")) {
setgroupid((debug ? 5 : 2));
// Test Server grants
} else if (debug && getgroupid() == 1) {