summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index ad74c75ae..d829c4524 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -835,6 +835,11 @@ function script mercrank {
}
}
+// alias to readbattleparam(getcharid(3), ?? )
+function script battleparam {
+ return readbattleparam(getcharid(3), getarg(0));
+}
+
// gettimeparam(GETTIME_X)
// Returns the number of seconds/minutes/hours/days/months/years since 01/01/1970
function script gettimeparam {