HELP!! Bot not responding

webguru's Avatar

webguru

22 Sep, 2009 08:37 PM via web

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

  1. Support Staff 2 Posted by Adam Kalsey on 22 Sep, 2009 08:52 PM

    Adam Kalsey's Avatar

    What is your IMified username (the email address on your account) or
    the xmpp id (***@bot.im) of your bot?

  2. 3 Posted by webguru on 22 Sep, 2009 09:28 PM

    webguru's Avatar

    ***@bot.im

  3. 4 Posted by webguru on 23 Sep, 2009 03:37 AM

    webguru's Avatar

    Any news on this? I mean have you had a chance to look it over??

  4. 5 Posted by webguru on 23 Sep, 2009 04:38 AM

    webguru's Avatar

    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.

  5. 6 Posted by webguru on 24 Sep, 2009 04:00 AM

    webguru's Avatar

    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.

  6. 7 Posted by webguru on 24 Sep, 2009 04:04 AM

    webguru's Avatar

    OK Maybe I am not doing this right... let me review the steps:

    1. I created a bot here.
    2. I added one of the messenger clients it is associated with (in this case Yahoo using the account I added here) as a friend in my current messenger (for example I am on as dude for Y! and then I added my account associated here to it as pl8link (also Y!)).
    3. I uploaded a bot.php to the location I used in step 1 when i created the bot.
    4. I message that yahoo account and get nothing...

    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!!

  7. 8 Posted by webguru on 24 Sep, 2009 04:43 AM

    webguru's Avatar

    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!!

  8. 9 Posted by mlucas on 15 Oct, 2010 02:33 PM

    mlucas's Avatar

    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

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.