diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-10-10 20:35:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-10-10 20:35:05 -0300 |
commit | 0a7e517a717c6299f0ab013f367cdf63ba5df169 (patch) | |
tree | 76dec5fd4020bb04b0958d64eb35231867b69e90 /npc | |
parent | 0585e9e52743724473e8df3d64c1f2cd169e2101 (diff) | |
download | serverdata-0a7e517a717c6299f0ab013f367cdf63ba5df169.tar.gz serverdata-0a7e517a717c6299f0ab013f367cdf63ba5df169.tar.bz2 serverdata-0a7e517a717c6299f0ab013f367cdf63ba5df169.tar.xz serverdata-0a7e517a717c6299f0ab013f367cdf63ba5df169.zip |
When a ranked Aurora event ends, flush the top 5 results to syslog for posterity
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/aurora.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 8b1242ff6..436750890 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -638,6 +638,8 @@ function script FYRewardEvent { } rodex_sendmail($@aurora_charid[.@i], "Aurora Events", $EVENT$+" Reward!", "Final Ranking: #"+(.@i+1)+". Congratulations on making "+$@aurora_value[.@i]+" points on the event!", 0, StrangeCoin, .@prize); } + // Send results copy to syslog + consoleinfo("%s event finished:\n#01 - %s (%d)\n#02 - %s (%d)\n#03 - %s (%d)\n#04 - %s (%d)\n#05 - %s (%d)\n", $EVENT$, $@aurora_name$[0], $@aurora_value[0], $@aurora_name$[1], $@aurora_value[1], $@aurora_name$[2], $@aurora_value[2], $@aurora_name$[3], $@aurora_value[3], $@aurora_name$[4], $@aurora_value[4]); // Destroy the quest DelQuestFromEveryPlayer(Q_AuroraEvent); deletearray $@aurora_name$; |