summaryrefslogtreecommitdiff
path: root/npc/003-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-3')
-rw-r--r--npc/003-3/malindou.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index e43edeea1..0c5c7b836 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -729,7 +729,21 @@ OnPCBonusEvent:
end;
OnGlobalChat:
- SK_Scripture(@chat$);
+ .@msg$ = @chat$;
+
+ // We don't care with punctuation or capitalization
+ .@msg$ = strtolower(.@msg$);
+ .@msg$ = replacestr(.@msg$, ",", "");
+ .@msg$ = replacestr(.@msg$, ".", "");
+ .@msg$ = replacestr(.@msg$, "!", "");
+ .@msg$ = replacestr(.@msg$, ":", "");
+ .@msg$ = replacestr(.@msg$, ";", "");
+ .@msg$ = replacestr(.@msg$, "(", "");
+ .@msg$ = replacestr(.@msg$, ")", "");
+ .@msg$ = replacestr(.@msg$, "<", "");
+ .@msg$ = replacestr(.@msg$, ">", "");
+
+ SK_Scripture(.@msg$);
end;
// Level up events