diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-05 17:05:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-05 17:05:17 +0300 |
commit | 61205395749c082a9b5e607012504c98d9cdfbd4 (patch) | |
tree | b18afda56844d49f6c346c9dba69369e1af0a2ae /src/map/script.c | |
parent | 0c0477399f132ac37a8dc07f86bb88b098502278 (diff) | |
download | plugin-61205395749c082a9b5e607012504c98d9cdfbd4.tar.gz plugin-61205395749c082a9b5e607012504c98d9cdfbd4.tar.bz2 plugin-61205395749c082a9b5e607012504c98d9cdfbd4.tar.xz plugin-61205395749c082a9b5e607012504c98d9cdfbd4.zip |
Impliment limited script function l.
without translations for now.
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 22 |
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; +} |