diff options
-rw-r--r-- | npc/functions/time.txt | 7 |
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 |