summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/string.txt9
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