From 5a7befddd57f2a0870734ff60d249947c961f842 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Jul 2018 20:13:57 -0300 Subject: [skip ci] Experiment with referral program report. --- npc/commands/super-menu.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc/commands') diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index 52ac7e0a8..ba4d64efd 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -17,7 +17,8 @@ function script SuperMenu { l("Scheduled broadcasts"), rif(is_admin(), l("MOTD")), rif(is_gm(), l("Event management")), - rif(is_admin(), l("Join teh Guild")), + rif(is_admin() && !getcharid(2), l("Join teh Guild")), + rif(is_admin(), l("Referral Program Report")), l("Debug"); switch (@menu) @@ -28,6 +29,7 @@ function script SuperMenu { case 4: query_sql("UPDATE `char` SET `guild_id`=1 WHERE `char_id`="+getcharid(0)); break; + case 6: HallOfReferral; break; case 5: GlobalDebugMenu 1; break; } } while (1); -- cgit v1.2.3-70-g09d2