diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/main.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 9ca373cb..2da97e2e 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -75,3 +75,25 @@ function script strip { } return substr(.@s$, .@start, .@end); } + +function script narrator { + mes ""; + mes l("[Narrator]"); + for (.@i = 0; .@i < getargcount(); .@i++) + { + mes col(getarg(.@i), 9); + next; + } + return; +} + +function script speech { + mes ""; + mesn; + for (.@i = 0; .@i < getargcount(); .@i++) + { + mesq getarg(.@i); + next; + } + return; +} |