Hello everyone,
I am trying to create a simple standalone chatbot program, using PROGRAM#.
Everything seams to work ok except that some of the tags don’t work.
The srai,li,random,get tags all work.
I am having trouble the “that” and “topic” tags.
I don’t know wheather it’s in my app code or the interpeter.
I would appreicate any help.
This is my app code below.
I am using Visual Studio 2010 express with Windows XP Pro 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using AIMLBot;
namespace MyAimlBot1
{
       Public partial class MyAimlBot1: System.Windows.Forms.Forms
        {
          Private cBot myBot;
                Public MyAimlBot1()
                {
                   InitializeComponent();
                     myBot=new cBot(false);
                this.textBox1.keyPress += new KeyPressEventHandler(this.textBox1_KeyPress);
               }
         
         Private void MyAimlBot1_Load(object sender, EventArgs e)
         {
         }
         Private void textBox1_keyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
         {
             if (e.KeyChar ==13)
             {
              this.richTextBox1.Text=this.richTextBox1.Text;
              cResponse reply=myBot.chat(this.textBox1.Text, "user")
              this.richTextBox1.Text=reply.getOutput();
              this.textBox1.Text="";
              }
  }

 RSS AI Zone
            
        
            
            
            
        
            
