lavalar pm robot

Started on the old forum in November 2010 · view the original in the archive · old links redirect here

10 replies · 1,443 views · started 16 years ago · 1 min read

7 participants
shakil420 Developer · 125 posts #1

here is my pandrobots info

$botid = "9b1e19f44e34598a";
              $hostname = "www.pandorabots.com";
              $hostpath = "/pandora/talk-xml";
              $sendData = "botid=".$botid."&input=".urlencode($message)."&custid=".$custid;

              $result = PostToHost($hostname, $hostpath, $sendData);

              $pos = strpos($result, "custid=\"");
              $pos = strpos($result, "<that>");

But i cant use it in my lavalair script. when i send PM to chatbot, it doesnot Reply PM

ayoomo9 Junior · 12 posts #3

Maybe the bot id is deleted. Create a new bot from pandorabots.com

shakil420 Developer · 125 posts #5

my chat boot working fine i want to add this robot as pm robot... like if u send pm to this robot it will automatic reply your pm .. can u give me this function or example?

pmbguy Senior · 344 posts #9

ok, an idea is to change the last act time for the bot, i'm trying to post the code but it's giving me errors for some reason... ///////////////consise code version///////////// $bottime = rand(20, 45); $botlastaction = time() - $bottime; /////////////////////////////////////////////////////

so yeah, basically, you add the bot with a variable negetive time with in certain limits, makes it look more "realistic" if you will...

for an example check the bots in my onlines on the link in my signature...

pmbguy Senior · 344 posts #11

ok, i posted a chatbot script on the forum a while back... just wondering if anyone seen the demo at chatbot.mobi

somehow he managed to do a bbcode style function... I think that'd make an awesome addon for lava... like a chatbot you say search wap scripts to and it'll return results as it's reply...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close