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..

what am i missing?
 
 

my $ variables once set seem to get overwritten on next t:

I though $ variables persist for example :


t: [Are you travelling alone] [Is this just you travelling]
      a: (~yes)
          $adults = 1
      a: (~no)
          okay so how many adults in the party
          u: (_~number)
          $adults = _0

t: how many children in the party
      u: (_~number)
      $children = _0

t: So thats $adults adults and $children children in the party


I’m new so be gentle please!

 

 
  [ # 1 ]

So you have a u: (_~number) that you have indented as though it is a rejoinder. But its not.  1st Should be b: instead.  2nd gambit one should be a:

 

 
  [ # 2 ]

brilliant - think I understand and it now does what I thought it should!
ill keep plugging away!!!

 

 
  login or register to react