summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/scoreboards.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index 13541074d..b9b916730 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -52,6 +52,8 @@ OnDay1101:
OnDay1201:
ScoreboardsReload(); // Ensure
+ if ($SCOREBOARD == gettimeparam(GETTIME_MONTH)) end;
+
for (.@i=0; .@i < getarraysize($@hof_name$); .@i++) {
rodex_sendmail(gf_charnameid($@hof_name$[.@i]), "Scoreboards", "Hall Of Honor: TOP 10", "For being on the TOP 10 of this hall, you're getting some Strange Coins.", 0, StrangeCoin, 15);
}
@@ -60,6 +62,7 @@ OnDay1201:
rodex_sendmail(gf_charnameid($@cfefe_name$[.@i]), "Scoreboards", "Hall Of Candor Battle: TOP 10", "For being on the TOP 10 of this hall, you're getting some Strange Coins.", 0, StrangeCoin, 15);
}
+ $SCOREBOARD = gettimeparam(GETTIME_MONTH);
end;
// Hourly Reload (maybe "OnMinute00" would work better?)