Skip to content

Commit 863c44a

Browse files
Update ChatScript-Multiple-Bots.md
1 parent 622bfc6 commit 863c44a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

WIKI/ChatScript-Multiple-Bots.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ topic: ~topic1 ()
113113
bot: Ben
114114
topic: ~topic2 () This topic is restricted to Ben
115115
...
116+
```
116117

117118
Furthermore, you don't have to do it per file. You can do it in the filesxxx.txt build file. But you need to
118119
compile any bot definitions without a bot restriction in effect. E.g.
@@ -144,7 +145,7 @@ topic: ~mytopic SHARE REPEAT ()
144145
```
145146

146147
All facts created will be visible to all bots. And if you create a permanent user variable with
147-
the starting name $share_, then all bots can see and modify it. So $share_name becomes a
148+
the starting name `$share_`, then all bots can see and modify it. So `$share_name` becomes a
148149
common variable. When sharing is in effect, the state with the user (what he said, what
149150
bot said, what turn of the volley this is, where the rejoinder mark is) is all common
150151
among the bots- they are advancing a joint conversation.
@@ -182,5 +183,3 @@ You disable ownership rules with
182183
```
183184
bot: 0
184185
```
185-
186-

0 commit comments

Comments
 (0)