diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-17 16:21:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-17 16:21:26 -0300 |
commit | b318c8097bdc6ab3f635f2054ef503a4057daf73 (patch) | |
tree | 1f80bf89717783519064fa0425b032adf1475956 | |
parent | 3cc8a03902b34e0bff2429ead34bf7c7f76a7457 (diff) | |
download | serverdata-b318c8097bdc6ab3f635f2054ef503a4057daf73.tar.gz serverdata-b318c8097bdc6ab3f635f2054ef503a4057daf73.tar.bz2 serverdata-b318c8097bdc6ab3f635f2054ef503a4057daf73.tar.xz serverdata-b318c8097bdc6ab3f635f2054ef503a4057daf73.zip |
Remove the control from @event - it's now handled by Michel.
-rw-r--r-- | npc/003-1/michel.txt | 6 | ||||
-rw-r--r-- | npc/commands/event.txt | 5 | ||||
-rw-r--r-- | npc/commands/super-menu.txt | 4 |
3 files changed, 7 insertions, 8 deletions
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", |