summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-17 16:21:26 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-17 16:21:26 -0300
commitb318c8097bdc6ab3f635f2054ef503a4057daf73 (patch)
tree1f80bf89717783519064fa0425b032adf1475956 /npc/commands
parent3cc8a03902b34e0bff2429ead34bf7c7f76a7457 (diff)
downloadserverdata-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.
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt5
-rw-r--r--npc/commands/super-menu.txt4
2 files changed, 3 insertions, 6 deletions
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",