home news reviews diary fun + games guestbook project 75 search shop samples mail list
music about gallery contact links extra discography sitemap interviewpro forum articles

  

Square Bear's AIML files
last updated 12th February 2010

Over the last four years or so, I have been interested in Artificial Intelligence and chatbots in particular. You can see two of my chatbots on the fun + games page. The chatbots I have, use a programming language called AIML to understand and respond to people and I have written a number of AIML files to add extra content to them.

If you have any AIML bots, please feel free to incorporate any of these files into your bots. They are designed ideally for use with Pandorabots but should work in other AIML interpreters and should be easily convertible into other chatbot languages.

To save a file, click on it and unzip it. Upload it to your bot, republish and that's it.

More coming soon.... Keep checking back!!

20q.aiml

This AIML allows your bot to play 20 questions with your users. The bot thinks of an object, and the user asks 20 yes or no questions to try and determine what it is. However, it's a trick because the bot randomly says yes or no until the user gives up! It's just a bit of fun, some of the users responses are pretty funny once they realise what's happening.

Battledome.aiml

A (very) basic battle type game similar to those you see in Dungeons and Dragon type games. Say "BATTLEDOME" to get it going then just keep saying "FIGHT" to fight the various monsters. Someone may be able to incorporate it into an adventure game.

Blackjack.aiml

A casino style blackjack game. You can't split or take insurance like a casino but everything else is there.

Botcompare.aiml

A function that allows a Pandorabot to compare two values to see if they are the same. Say BOTCOMPARE X Y to compare X and Y and it will set a variable called "match" to equal YES if they are the same and NO if they are different.

Calendar.aiml

Say "calendar" to your bot and it will display the current month's calendar for you. Thanks to Ciprian Murariu for including the formatting. This may display incorrectly for flash enabled bots.

copyme.aiml

If the user asks your bot to repeat what they say (which happens for some strange reason), your bot can now do exactly that. It will carry on repeating them until they say "Stop copying me" twice, much to the annoyance of the users!

Currency.aiml

The bot knows what currency is used in what country.

Daystoxmas.aiml

How many days to Christmas. ( I created this for my Santa bot).

Drphil.aiml

A personality test that I got through email and converted to AIML.


gender.aiml

The bot now knows the gender of a first name. This stops people from saying things like, "My name is Eric. I am a girl". It can also answer what sex the user is from their first name. This is updated regulalrly as I find new names.

Happy.aiml

The bot can correct the user if they get dates such as Valentines Day, Christmas or the bot's birthday wrong. You will need to amend the first few categories to get it to work with your bot's birthday. It defaults to January 2nd.

Highroller.aiml

A version of the dice game Yahtzee by Milton Bradley games. Say "High Roller" to start the game.

Horoscope.aiml

Turn your bot into Mystic Meg.

Jokes.aiml

A few jokes for your bot to tell. They are all clean.

Knockknock.aiml

Some knock knock jokes. Some are better than others but they are all clean.

learn.aiml

This allows users to teach your bot new facts rather than just correcting its replies using badanswer.aiml. The user should say LEARN then the fact. For example:

Human: Learn the sun is hot
Bot: Ok I will learn that the sun is hot.
Human: Learn London is in England
Bot: Ok I will learn that London is in England.
Human: Learn a cat has four legs.
Bot: Ok I will learn that a cat has 4 legs.
Human: What has 4 legs?
Bot: a cat.
Human: What is the sun?
Bot: hot.
Human: Learn the sun is hot and yellow
Bot: Ok I will learn that the sun is hot and yellow.
Human: What is hot and yellow?
Bot: the sun.
Human: What is the sun?
Bot: hot and yellow.
Human: Where is London?
Bot: in England.
Human: What is in England?
Bot: London.
Human: Learn Dr Wallace is an AI expert
Bot: Ok I will learn that Dr Wallace is an AI expert.
Human: What is an AI expert?
Bot: Dr Wallace.
Human: Who is an AI expert?
Bot: Dr Wallace.
Human: Who is Dr Wallace?
Bot: an AI expert.
Human: What is hot?
Bot: the sun.
Human: What has a cat?
Bot: 4 legs.

Luckyslots.aiml

A fruit machine game with hold feature.

Maths.aiml

Some maths trivia. Suitable for when someone queries your bot about maths.

Numberdrop.aiml

An addition game where you have to make a row of numbers add up to the total.

Onthisday.aiml

What happened on this day in history. It's mostly English facts but feel free to amend them for whatever happened in your country.

poker.aiml

This file enables your bot to play a game of "Jacks or Better" video poker.
Say 5CARDPOKER to start the game.

Quizfacts.aiml

Pub quiz style trivia. "When was the battle of...", Birthstones and things like that. Still needs completing but there's plenty of trivia in there.

Seasons.aiml

Your bot can tell which season it is both north and south of the equator.

Shutup.aiml

Fed up of users telling your bot to shut up? Now the bot refuses to talk to them unless they say sorry.

Whatday_eng.aiml

Works out the day of the week from any date between 1753 and 2299. It will also give the chatter some facts about what happened on that day in history too.

Whatday_usa.aiml

Same as whatday_eng but more suitable for the US bots who format the date as mm/dd/yyyy

Wordplay.aiml

An anagram game. Guess the jumbled words.

Yomama.aiml

A load of "yo mamma" type jokes for when the user starts insulting the bot's mother.

Zbert.aiml

A fake admin menu. It's surprising how many people try to "reformat" the bot. If you get your bot to drop a few hints every now and then that the password is "zbert", people will soon pick up on it.

Back To Top