From 62fe160f54436f0de2e2f9d3af739321e17c2d46 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 4 Apr 2021 17:16:03 -0300 Subject: Limit the precision of admin report to days, inform if something went wrong --- npc/019-2/guards.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/npc/019-2/guards.txt b/npc/019-2/guards.txt index e14478af2..3f7e350cc 100644 --- a/npc/019-2/guards.txt +++ b/npc/019-2/guards.txt @@ -22,7 +22,10 @@ } else if (is_admin()) { // NOTE: This is an override label mesc "Initiate Nivalis Liberation Day?", 1; mesc "Event will last 7 days.", 1; - mesc "The event is currently set to happen in roughly: " + FuzzyTime($NLIB_SEQDAY*86400); + if ($NLIB_SEQDAY) + mesc "The event is currently set to happen in "+($NLIB_SEQDAY-gettimeparam(GETTIME_DAYOFMONTH))+" days."; + else + mesc b("Liberation Day is NOT scheduled to happen."), 1; select "Not yet.", "Yes", -- cgit v1.2.3-70-g09d2