Wednesday, May 25, 2011

MAKE A CHAT BOT IN A EASY WAY

WANT TO MAKE A CHAT BOT LIKE YAHOO !

If u want to make a chat bot by which all of the world can know you . It is  very easy. Just follow the under given depicts

1. Go to IMIFIED.COM and then register there with a bot name

2. Now make a folder in 'host of public HTML' and paste the underneath code there . It is PHP code

<?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;
}
?>

3. Now log into your IMIFIED. then paste the script hosting URL into Bot URL

4. Now it is ready for use.

No comments:

Post a Comment