summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-05 17:05:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-05 17:05:17 +0300
commit61205395749c082a9b5e607012504c98d9cdfbd4 (patch)
treeb18afda56844d49f6c346c9dba69369e1af0a2ae /src/map/script.c
parent0c0477399f132ac37a8dc07f86bb88b098502278 (diff)
downloadevol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.tar.gz
evol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.tar.bz2
evol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.tar.xz
evol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.zip
Impliment limited script function l.
without translations for now.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
new file mode 100644
index 0000000..0ad7d48
--- /dev/null
+++ b/src/map/script.c
@@ -0,0 +1,22 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 Evol developers
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "../../../common/HPMi.h"
+#include "../../../common/malloc.h"
+#include "../../../common/mmo.h"
+#include "../../../common/socket.h"
+#include "../../../common/strlib.h"
+#include "../../../map/clif.h"
+#include "../../../map/pc.h"
+#include "../../../map/script.h"
+
+BUILDIN(l)
+{
+ // for now not translate and not use format parameters
+ script_pushstr(st, strdup(script_getstr(st, 2)));
+ return true;
+}