From 942fe3ab36fdd0d53720925515b5ae3cfddf2521 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 07:16:48 -0300 Subject: Format numbers in study skill --- npc/functions/string.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc/functions') diff --git a/npc/functions/string.txt b/npc/functions/string.txt index 6b38fa676..2a38d90d4 100644 --- a/npc/functions/string.txt +++ b/npc/functions/string.txt @@ -120,6 +120,15 @@ function script format_number { +// fnum() +// alias for format_number + +function script fnum { + return format_number(getarg(0)); +} + + + // strip("") // removes spaces at the start and end -- cgit v1.2.3-70-g09d2