summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-04 17:16:03 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-04 17:16:03 -0300
commit62fe160f54436f0de2e2f9d3af739321e17c2d46 (patch)
tree3fcea9fa74936f1ca398522d84a98e8350aa8d06
parentdfa203254df0cbd472130cb7d6002c5fbab877c4 (diff)
downloadserverdata-62fe160f54436f0de2e2f9d3af739321e17c2d46.tar.gz
serverdata-62fe160f54436f0de2e2f9d3af739321e17c2d46.tar.bz2
serverdata-62fe160f54436f0de2e2f9d3af739321e17c2d46.tar.xz
serverdata-62fe160f54436f0de2e2f9d3af739321e17c2d46.zip
Limit the precision of admin report to days, inform if something went wrong
-rw-r--r--npc/019-2/guards.txt5
1 files changed, 4 insertions, 1 deletions
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",