Skip to main content

Develop your own functional 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 very basic programming skills (any language would do) and web space to host your “bot”.
For this example, I have created a dummy bot called “insecure” that listens to your IM messages. To see this live, add insecure@bot.im to your GTalk buddy list and start chatting.

IM Bot

If you like to write a personal IM bot, just follow these simple steps:-
Step 1: Go to www.imified.com and register a new account with a bot.
Step 2: Now it’s time to create a bot which is actually a simple script that resides on your public web server.
It could be in PHP, Perl, Python or any other language.
Example Hello World bot:
The example below illustrates just how easy it 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;
}
?>
Step 3: Once your script is ready, put it somewhere on your web server and copy the full URL to the clipboard.
Step 4: Now login to your imified account, paste the script URL

Screen Name:hackingalltricks@im bot
Bot Script URL: http://hackingalltricks.blogspot.in/

Step 5: Add that im bot 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 does currency conversion.

Comments

Popular posts from this blog

14 Best Online Jobs from Home – No Investment to Earn Money

Earn from PTC sites If you are trying to earn money online & need only small extra income less than $200 (Rs.12,000) then PTC sites are the best way to start. Here you need to click & read the advertisements for 10 to 3o seconds & get paid for each & every advertisement you view. There are many sites where you can register & make money by reading ads. All sites are free & there is no investment at all. You can check this list of 5 best PTC sites, signup & start earning. 2. Earn with GPT Sites To add more income, you can also join GPT sites where you can earn money by taking small surveys, watching videos, playing games & doing many more activities. We have worked on number of GPT sites but we will recommend only 3 sites which pays their member on time. You can receive your payment by PayPal, cheque or bank transfer. Check GPT sites here . 3. Become a Captcha Solver If you have more time then you can add further income in your po...

Watch 18+ Videos On Youtube Without Signing In

                                          Sometime its  annoying  when youtube ask you to  sign  in for your  age verification  to watch  18+  videos . So i  will make  it easy for you by showing you  a simple   youtube trick to  watch  adult or 18+  youtube videos  without signing In. This trick is 100% working as of 2013. So  lets get  started. How To Watch 18+ Youtube Videos Without Logging In ? 1. First get the  Url  of video you want to  watch . As shown below. http://www.youtube.com/watch?v= 4Xkh6j7RMqk   2. Then  cop y the Video Id. For above link video Id is   4Xkh6j7RMqk 3. Now paste the Video Id  in the link  given below. http://www.youtube.com/v/ VideoId ?fs=1 Replace  VideoId  with the Id you copied in  Step 2 ...

How to Enable or Disable Hibernation in Windows ?

Enabling or Disabling the “Hibernate” option in Windows 7 or Vista is not as simple as it used to be in Windows XP. For Windows 7 a different approach has to be followed to accomplish the same job. In this post you will find how to enable or disable the Hibernate option in Windows 7. Hibernation is a power saving option which was designed primarily for laptops. Unlike “sleep mode” which puts the open documents and files into the memory, hibernation puts all the open files and documents on to the hard disk and shuts down the computer without drawing even a small amount of power. Thus hibernation becomes an excellent way to save power and resume Windows back to the state where it was left off. If you really want to use this feature on Windows 7 then you need to enable this option. This can be done as follows. 1. Open the Command Prompt with “Administrator rights”. To do so, type cmd in Start menu and then hit Ctrl+Shift+Enter . 2. Now type ...