AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

multibot_mode don’t working “callback” why?
 
 

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


outputmacrochapterX()
$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: "

tabledefaultbot (^name)
^
createfact(^name defaultbot defaultbot)
DATA:
chapterX

topic
: ~control system ()

# on startup, do introduction
u: ( %input<%userfirstline)
 gambit
(~chapterX)

# timer
 
u: (\[ callback \]okgambit(~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

 

 
  login or register to react