From b318c8097bdc6ab3f635f2054ef503a4057daf73 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Sep 2018 16:21:26 -0300 Subject: Remove the control from @event - it's now handled by Michel. --- npc/003-1/michel.txt | 6 ++++-- npc/commands/event.txt | 5 +---- npc/commands/super-menu.txt | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'npc') diff --git a/npc/003-1/michel.txt b/npc/003-1/michel.txt index 03893dfbe..5278c3065 100644 --- a/npc/003-1/michel.txt +++ b/npc/003-1/michel.txt @@ -61,14 +61,16 @@ L_GM: mes ""; switch (@menu) { case 2: - $REFERRAL_ENABLED=!$REFERRAL_ENABLED; break; + $REFERRAL_ENABLED=!$REFERRAL_ENABLED; logmes "Enabled REFER event.", LOGMES_ATCOMMAND; break; case 3: HallOfReferral(); break; case 4: mesc "Are you sure?", 1; next; - if (askyesno() == ASK_YES) + if (askyesno() == ASK_YES) { deletearray($REFERRAL_IDS); + logmes "##1Deleted PERMANENTLY the REFER event scoreboard.##0", LOGMES_ATCOMMAND; + } default: close; } next; diff --git a/npc/commands/event.txt b/npc/commands/event.txt index becdcf6d6..6f43705ae 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -101,8 +101,7 @@ function script GlobalEventMenu { l("Disable event"), -, l("Enable Easter"), -, l("Enable Worker's Day"), -, - l("Reset Kill Saulc Event (Monthly)"), -, - l("Enable Refeer Program"), -; + l("Reset Kill Saulc Event (Monthly)"), -; switch (@menu) { case 1: set $EVENT$, "";$REFERRAL_ENABLED=0; logmes "Disabled events.", LOGMES_ATCOMMAND; @@ -117,8 +116,6 @@ function script GlobalEventMenu { */ break; case 4: DelItemFromEveryPlayer(MurdererCrown); break; - case 5: $EVENT$="Refeer";$REFERRAL_ENABLED=1; logmes "Enabled REFEER event.", LOGMES_ATCOMMAND; - break; } return; diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index cc82a6ad1..5e477b77f 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -8,11 +8,11 @@ function script SuperMenu { mes l("What do you want to access?"); next; select - l("Scheduled broadcasts"), + rif(is_gm(), l("Scheduled broadcasts")), rif(is_admin(), l("MOTD")), rif(is_gm(), l("Event management")), rif(is_admin() && !getcharid(2), l("Join teh Guild")), - rif(is_admin(), l("Referral Program Report")), + rif(is_staff(), l("Referral Program Report")), rif(is_admin(), "Broken checks"), rif(is_gm(), l("Seasonal Drop Control")), "Debug", -- cgit v1.2.3-70-g09d2