diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-02 20:13:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-02 20:13:57 -0300 |
commit | 5a7befddd57f2a0870734ff60d249947c961f842 (patch) | |
tree | 4a46cf1ac9ab0e853d3f07e0da3afa10be55eda8 /npc/commands | |
parent | 30ec30060bcba99d9587c1aeadc01c98f64ff090 (diff) | |
download | serverdata-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.txt | 4 |
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); |