i use multi bots (4~6 bots)
description—- files
chapter1.top
chapter1control.top
chapter2.top
chapter2control.top
chapter3.top
chapter3control.top
chapter4.top
chapter4control.top
one “chapterX.top” desciption contents
topic: ~chapterX bot=chapterX []
t: ...
t: ...
............... skip ................
t: ...
u: (call) \[ callback=1000 \] repeat() keep() Callback requested.
one “chapterXcontrol.top” desciption contents
outputmacro: chapterX()
$cs_token = #DO_NUMBER_MERGE | #DO_DATE_MERGE | #DO_PROPERNAME_MERGE | #DO_SPELLCHECK | #DO_PARSE
^addtopic(~chapterX)
$cs_control_main = ~control
# $cs_control_post = ~XPOSTPROCESS # uncomment to enable talk
$userprompt = ^"%user: >"
$botprompt = ^"chapterX: "
table: defaultbot (^name)
^createfact(^name defaultbot defaultbot)
DATA:
chapterX
topic: ~control system ()
# on startup, do introduction
u: ( %input<%userfirstline)
gambit(~chapterX)
# timer
u: (\[ callback \]) ok. gambit(~chapterX) <---- not woring
............... skip ................
ok…
i send “call” (in ~chapterX) then “callback” 1 second , after gambit(~chapterX).. (return ~chapterX is next gambit)
but gambit(~chapterX) don’t working, then anther .top ‘s content is print!!!
why not woring?
help~ thanks