Skip to content

Commit 37640fe

Browse files
Merge pull request #123 from solyaris/patch-2
Update ChatScript-Spelling-Marking.md
2 parents c6cc895 + 34fadb2 commit 37640fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WIKI/ChatScript-Spelling-Marking.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ One (of many) unusual features of ChatScript is the built-in spell-checker. Most
99

1010
OK. So it does the best it can with unknown words. It is enabled by default but your scripts can disable it. All you have to do is assign a different value to $cs_token, one which does not include #DO_SPELLCHECK. E.g.
1111

12-
$cs_token = #DO_PRIVATE | #NO_SEMICOLON_END | #DO_SUBSTITUTE_SYSTEM | #DO_SPELLCHECK | #DO_PARSE # some default value
13-
$cs_token -= #DO_SPELLCHECK # disable spellcheck
12+
$cs_token = #DO_PRIVATE | #NO_SEMICOLON_END | #DO_SUBSTITUTE_SYSTEM | #DO_SPELLCHECK | #DO_PARSE # some default value
13+
$cs_token -= #DO_SPELLCHECK # disable spellcheck
1414

1515
You can do this dynamically. If you know the user's next input is likely to have issues (you have asked for his name and foreign names will get messed up), you can turn it off, go read in his name unchecked, and then turn it on again.
1616

0 commit comments

Comments
 (0)