HELP!! Bot not responding
I created a bot.php file like the following:
<?php require_once('Connections/conPL8LINK.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'] . "
from " . $REQUEST['value2'] . ".";
break;
} ?>
This is OF course per the example.
Then I created a bot and pointed it to that file above.
NOW I send an IM to the account associated with the bot and I never get a response (per the way it is supposed to work).
Please help!!!!
Eric Joy
Support Staff 2 Posted by Adam Kalsey on 22 Sep, 2009 08:52 PM
What is your IMified username (the email address on your account) or
the xmpp id (***@bot.im) of your bot?
3 Posted by webguru on 22 Sep, 2009 09:28 PM
***@bot.im
4 Posted by webguru on 23 Sep, 2009 03:37 AM
Any news on this? I mean have you had a chance to look it over??
5 Posted by webguru on 23 Sep, 2009 04:38 AM
I just tried the tutorial and used the following bot.php:
<?php require_once('Connections/conPL8LINK.php'); ?>
<?php
/*
* This is an example script demonstrating the functionality of the IMified class
*/
try {
$testBotMessage = new imified($_POST);
$step = $testBotMessage->getStep();
echo "Hello. Your IM network is: ". $testBotMessage->getNetwork().".";
echo "This is step ".$step.".";
if($step > 1)
echo "In the last step, you said ".$testBotMessage->getLastValue().".";
}
catch (Exception $ex) {
echo "Sorry. The Bot is having some issues: ".$ex->getMessage();
}
?>
Still no luck my bit will not respond.
6 Posted by webguru on 24 Sep, 2009 04:00 AM
Any news on this item at all?? I really would like to know if I am doing something wrong... I am not sure I was.. Icreated a bot here, then used the simplified example of the bot.php and get nothing.
Please help me understand what is wrong here.
7 Posted by webguru on 24 Sep, 2009 04:04 AM
OK Maybe I am not doing this right... let me review the steps:
What am I doing wrong here?? Shouldn't all the messenger accounts I created and associated with the bot be online? Why does everyone here refer only to the @bot.im account? How do I add that bot account (the @bot.im) to my messenger OR get a messenger for it?
I just added my @bot.im to my messenger (as a friend in my current Google Talk account) and the bot works. NOW How do I get the same response from the other messengers associated with my imified bot???
Please help!!
8 Posted by webguru on 24 Sep, 2009 04:43 AM
OK I now realized that the BOT is operational and I have a working connection to AOL, GoogleTalk, Jabber, MSN Live. My Yahoo is not active and my Twitter I cannot add the contact to my client (well it is Trillian Astra, not Twitter app so that is not something I can do).
So now all I need to do is figure out why Yahoo is not working!!
9 Posted by mlucas on 15 Oct, 2010 02:33 PM
Sorry for the late response regarding your issue. Is this still an issue that you are currently experiencing? I will be monitoring this page for a reply and I look forward to helping resolve this for you.
-Matt Lucas
IMified Support