summaryrefslogtreecommitdiff
path: root/npc/functions/time.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-21 20:27:29 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-21 20:27:29 -0300
commite00a410d88410b6f9e515cc2ba5b8a4e6cc50955 (patch)
treed2ef1632b935dcd549dae1e9c09343692632538d /npc/functions/time.txt
parent88222805eee0aa8aa23d60a7017e64572b0d57f4 (diff)
downloadserverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.tar.gz
serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.tar.bz2
serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.tar.xz
serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.zip
Change FuzzyTime defaults
Diffstat (limited to 'npc/functions/time.txt')
-rw-r--r--npc/functions/time.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/functions/time.txt b/npc/functions/time.txt
index 30ab9f469..a2a4cbe32 100644
--- a/npc/functions/time.txt
+++ b/npc/functions/time.txt
@@ -33,12 +33,13 @@ function script time_from_days {
// 4 show "from now" instead of "in" when in the future
//
// <precision> is the number of units to show,
-// by default uses max precision
+// by default uses two (eg. 2m30s or 1h20m).
+// Use '99' for max precision
function script FuzzyTime {
.@future = getarg(0, now());
- .@options = getarg(1, 0);
- .@precision = getarg(2, 99);
+ .@options = getarg(1, 3);
+ .@precision = getarg(2, 2);
.@diff = (.@future - now());
// check if in the past, or in the future