diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-21 21:26:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-21 21:26:54 -0300 |
commit | a1890ee5ad07743a4efe4b376f9c4d710192c343 (patch) | |
tree | ffa57cbcde1bfc0a7504f904d55a19fafacfe59b /npc/functions | |
parent | d4430950003f0516acb3a2fd5e8475c6448be987 (diff) | |
download | serverdata-a1890ee5ad07743a4efe4b376f9c4d710192c343.tar.gz serverdata-a1890ee5ad07743a4efe4b376f9c4d710192c343.tar.bz2 serverdata-a1890ee5ad07743a4efe4b376f9c4d710192c343.tar.xz serverdata-a1890ee5ad07743a4efe4b376f9c4d710192c343.zip |
Malfunction
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/string.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/string.txt b/npc/functions/string.txt index efeaf476d..719951690 100644 --- a/npc/functions/string.txt +++ b/npc/functions/string.txt @@ -102,6 +102,7 @@ function script format_number { // get from user language switch (Lang) { case 1: .@separator$ = " "; break; // French + case 4: .@separator$ = "."; break; // Brazilian default: .@separator$ = ","; // English (default) } } @@ -141,6 +142,8 @@ function script strip { .@end--; } } + debugmes "STRIP.DEBUG MODE ENABLED BY JESUSALVA. PASSING SUBSTRING PARAMS"; + debugmes "String \""+.@s$+"\" from "+str(.@start)+" to "+str(.@end); return substr(.@s$, .@start, .@end); } |