diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 07:16:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 07:16:48 -0300 |
commit | 942fe3ab36fdd0d53720925515b5ae3cfddf2521 (patch) | |
tree | d9f656ccadf2b365034596eae1f4b2538fd1a194 /npc/functions/string.txt | |
parent | 682a0b8d39ddbba7b14741e3457bf507f1e1da5c (diff) | |
download | serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.tar.gz serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.tar.bz2 serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.tar.xz serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.zip |
Format numbers in study skill
Diffstat (limited to 'npc/functions/string.txt')
-rw-r--r-- | npc/functions/string.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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(<integer>) +// alias for format_number + +function script fnum { + return format_number(getarg(0)); +} + + + // strip("<string>") // removes spaces at the start and end |