WHAT'S NEW?
Loading...

How to Create IM Bot

This Quick Tutorial will Show you How to Develop your own Functional IM Bot that works with Google Talk, Yahoo! Messenger, Windows Live and all other Popular Instant messaging clients.To get started, All you need to know are some Basic Programming Skills (any Language) and Web Space to host your “Bot”.For this example, I have created a Dummy Bot called “Akash” that Listens to your IM Messages. To see this Live, add Akash@bot.im to your GTalk buddy list and start chatting. If you Like to write a Personal IM Bot.

how-to-create-im-bot

Just Follow these Simple Steps:

  • Now, it’s time to Create a Bot which is actually a simple script that resides on your Public Web Server.
Note: It could be in PHP, Perl, Python or any other Language. "Example Hello World Bot".

The Example Below Illustrates How easy is to create a Bot. "This Example is coded in PHP".
<?php
switch ($_REQUEST['step']) {
case 1:
echo "Hi, What's your Name?";
break;
case 2:
echo "Hi " . $_REQUEST['value1'] . ", Where do you Live?";
break;
case 3:
echo "Well, Welcome to this Hello World Bot, " . $_REQUEST['value1'] . "<br>from " . $_REQUEST['value2'] . ".<reset>";
break;
}
?>
  • Once your script is ready, Put it somewhere on your Web Server and copy the Full URL to the Clipboard.
  • Now, Login to your imified account and Paste the Script URL.
Screen Name: Akash@bot.imBot Script URL: http://www.Akash.in/imbot.php
  • Add that IM Bot to your Friends List. That’s it.
This is a very Basic Bot but the Possibilities are endless.
For Instance, You could write a Bot that will send an email to all your close Friends via a simple IM message or you could Write one that will do Currency Conversion.

0 Comments:

Post a Comment