summaryrefslogtreecommitdiff
path: root/npc/functions/string.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/string.txt')
-rw-r--r--npc/functions/string.txt3
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);
}