summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/001-14/ctrl.txt2
-rw-r--r--npc/003-3/malindou.txt16
2 files changed, 17 insertions, 1 deletions
diff --git a/npc/001-14/ctrl.txt b/npc/001-14/ctrl.txt
index c64d20dc6..715cf8cc8 100644
--- a/npc/001-14/ctrl.txt
+++ b/npc/001-14/ctrl.txt
@@ -17,6 +17,7 @@ OnInit:
// FIXME
001-14,88,27,0 script Hocus#MOLY1200 NPC_BLACKWIZARD,{
npctalk l("Icicle Challenge");
+ npctalk l("Not Yet Implemented - Sorry.");
end;
OnInit:
@@ -152,6 +153,7 @@ OnInit:
// FIXME
001-14,139,85,0 script Hocus#MOLY0300 NPC_BLACKWIZARD,{
npctalk l("Fluffy Hunter Challenge");
+ npctalk l("Not Yet Implemented - Sorry.");
end;
OnInit:
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