http://marcelgagne.com/content/alice-and-friends-artificial-intelligence-reloaded
Here’s what appears to be a very good article about using AIML, complete with detailed instructions for setting it up and running it under Linux. I haven’t used AIML myself, but thought you folks might like to read it.