summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/main.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 030adc77..08d2a5a3 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -41,3 +41,7 @@ function script adddefaultskills {
skill NV_BASIC, 1, 0;
return;
}
+
+function script str {
+ return "" + getarg(0);
+}