Skip to content

Commit c384cc4

Browse files
Fixed code snippets that were not being displayed
1 parent 8be48ac commit c384cc4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

WIKI/ChatScript-Common-Beginner-Mistakes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ unnecessary and inefficient and potentially more obscure to read.
1414
u:MYLABEL()
1515
```
1616
is not the same as
17-
```u: MYLABEL()
17+
```
18+
u: MYLABEL()
1819
```
1920
While ChatScript will automatically space around balanced things like parens or brackets, it will not do so around ordinary text,
2021
so `u:MYLABEL` is a single token, an ordinary word for printout, and not a rule header.
@@ -267,7 +268,8 @@ So input like: _the raccoon ate the bear_ will fail because bear will be found f
267268
## Querying with the same value in 2 positions
268269

269270
A query like
270-
```^query(svo $_tmp $_tmp value)
271+
```
272+
^query(svo $_tmp $_tmp value)
271273
```
272274
will likely fail when 2 of the values being checked are the same. This
273275
is because the query marks its arguments with index flags for efficiency

0 commit comments

Comments
 (0)