Here I'm also giving source code for a simple bot. If you have some basic
knowledge in programming (in any language), You can modify it according to your need or If you know advanced, you can create your own
Instructions
Step 1: Go to www.imified.com and register a new account with a bot.
Step 2: Create code for your bot and host it in your own server. You can use any language like python, php etc. Here I'm giving a sample. This one is written in PHP.
<?php
switch ($_REQUEST['step']) {
case1:
echo "Hi friend, 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;
}
?>
This was a simple one. Just say asks your name and say as it is. It also requests your place and say it again.
You can understand it from above.
Step 3: Once your script is ready, put it somewhere on your web server and copy the full URL of it to the clipboard.
Step 4: Now login to your imified account, paste the script URL
You will get the name for adding to IM.
Step 5: Add that im bot your friends list. That’s it.
This is a very basic bot but the possibilities are endless.
You can create according to your idea.
No comments :
Post a Comment