Sunday, November 16, 2008

IMBOTS on google chat, jabbim, yahoo messenger

IMBOTS - Instant Messaging Automatic response from inbuilt programming autoresponse system.

To make them within a miniute

1) Goto IMIFIED.com
2) Signup there
3) After signup, visit myapplication link
4) In that page click +New Application button (Upto 3 application you can create)
5) Give the BOTname, BOT url -(Specify the address of the server program where it process)
eg(www.imb.com/control.php)
6) Describe about your BOT(OPT)
7) Describe the first step under help!(OPT)
8) Term your privacy! (OPT)

Enjoy...

Here is a simple program for im bots


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'] . "
from " . $_REQUEST['value2'] . ".";
break;
}

?>

Using php! a simple helloworld program.
Save as filename.php
upload in any server say awardspace.com ( a free server to host php and mysql).

After upload provide the link in imbot settings.

ENJOY!

No comments: