Author Topic: allow people to use yor chatbot?  (Read 734 times)

how can you make your chatbot allow people to use your chatbot
example:"Allow [players name] to use my chatbot"
then my chatbot will respond to [players name]

package bot
{
   function newChatHud_addLine(%text)
   {
            //All the scripting in here
        }
}; activatepackage(bot);

However, I wouldn't make a chatbot usable by everyone, because people can make you spam. Why do you think greetbots are so unliked? People always are made spam by others. I recommend you make it only work if YOU use it.

package bot
{
   function newChatHud_addLine(%text)
   {
            //All the scripting in here
        }
}; activatepackage(bot);
Getting a head start on "Most Useless Attempt to Help of the Year?"

Make a function to add their name upon a list. (preferably a scriptObject) Then use this client-sided function:
Code: [Select]
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg)
{
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
if(%name $= $HB::CopyName)
{
if(%name $= $YOUR_SCRIPT_OBJECT)
{
//ALSO, ADD AN "if" for %msg, if you want to check if their message begins with a, "-Chatbot".
//CALL YOUR CHATBOX FUNCTION HERE..
}
}
}
« Last Edit: January 02, 2013, 02:45:35 AM by Honorabl3 »

package bot
{
   function newChatHud_addLine(%text)
   {
            //All the scripting in here
        }
}; activatepackage(bot);

You sure are helpful

You sure are helpful
This is what makes a bad community, people criticizing others because they probably misunderstood the question. Not only that, but what you said was pretty much stated, in different words. So please next time, when you see another non-helpful post, just ignore it.
« Last Edit: January 02, 2013, 02:43:57 AM by Honorabl3 »

This is what makes a bad community, people criticizing others because they probably misunderstood the question. Not only that, but what you said was pretty much stated, in different words. So please next time, when you see another non-helpful post, just ignore it.
Chastising others for minor slip-ups is how the Blockland Forums works. If posts like that make us a bad community then I think we've already hit rock bottom.

Getting a head start on "Most Useless Attempt to Help of the Year?"
I read the question wrong. You don't have to be an ass about it though.

Chastising others for minor slip-ups is how the Blockland Forums works. If posts like that make us a bad community then I think we've already hit rock bottom.

You've just noticed now?

I read the question wrong. You don't have to be an ass about it though.
It was funnier to assume otherwise.

You've just noticed now?
I'm the one telling you. I realized it a few months after we got the drama forum.

You've just noticed now?
Trust me, it's a system that works, people don't slip up as often if they get ridiculed for it.
You get use to it really quick.

Trust me, it's a system that works, people don't slip up as often if they get ridiculed for it.
You get use to it really quick.
There are certain bits of that system that I like and don't like. That post happened to be one that I didn't like.

Nobody likes being attacked, but it gets results. This subforum is nearly entirely unmoderated, I really doubt anyone has ever received a ban in this section and I don't think Badspot has deleted any posts here any time recently. That isn't to say we can post anything, but the moderation of the content has been left to us: the users. To ensure quality answers to peoples questions we must keep people that help attentive to their posts to stop the spread of misinformation before it starts. So, yeah, sometimes people get their toes stepped on but it's not like we hold a grudge that you're a terrible coder because you misunderstood someones question or accidentally posted something wrong.

I really doubt anyone has ever received a ban in this section
There have been a total of 15 bans in this section, all for utterly ridiculous and obvious trolling, besides that your post is 100% correct, and I agree with every bit of it.

There have been a total of 15 bans in this section, all for utterly ridiculous and obvious trolling, besides that your post is 100% correct, and I agree with every bit of it.
Really? Regardless, my point stands.