should have mentioned that this is for a simple Chat Bot....
Try googling for 'chatbot tutorial'. This one brought up a Perl example that might be a good starting point: it uses regular expressions to parse the input
http://search.cpan.org/~kirsle/Chatbot-Alpha-2.02/lib/Chatbot/Alpha/Tutorial.pmDanny
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders