summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 20:13:57 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-02 20:13:57 -0300
commit5a7befddd57f2a0870734ff60d249947c961f842 (patch)
tree4a46cf1ac9ab0e853d3f07e0da3afa10be55eda8 /npc/commands
parent30ec30060bcba99d9587c1aeadc01c98f64ff090 (diff)
downloadserverdata-5a7befddd57f2a0870734ff60d249947c961f842.tar.gz
serverdata-5a7befddd57f2a0870734ff60d249947c961f842.tar.bz2
serverdata-5a7befddd57f2a0870734ff60d249947c961f842.tar.xz
serverdata-5a7befddd57f2a0870734ff60d249947c961f842.zip
[skip ci] Experiment with referral program report.
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/super-menu.txt4
1 files changed, 3 insertions, 1 deletions
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);