Author Topic: GUI Ideas [Help pg4]  (Read 2268 times)

I've been making a chatbot and at first I wanted to add tons of things that it would respond to, but then I realized how stupid that was. Now im adding different useful things that it can do. Anybody have any ideas on useful things? I want to add a calculator, but idk how to do that.
« Last Edit: April 21, 2013, 06:51:30 PM by MrLoganator111 »


Thanks! I will look through those. Now how about some ideas on what to add...


Make Buttbot.

Make Internet-tourettes bot.

Here's some functions I scrapped from a chatbot a friend gave to me.
Code: [Select]
if(getWord(%msg,0) $= $botname && getWord(%msg,1) $= "Calculate" && getWord(%msg,2) $= "Numbers") {
eval("$Equals = "@%args3@";");
if($Equals)
commandToServer('messageSent', $botname@": "@%args3@" = "@$Equals);
return;
} if(getWord(%msg,0) $= $botname && getWord(%msg,1) $= "Check" && getWord(%msg,2) $= "Ping") {
if(%name $= $Owner) {
%ping=serverConnection.getPing();
commandToServer('messageSent', $botname@": Your Ping ["@%ping@" ms]");
return;
Enjoy

Wait, what does the 1st part do?


http://www.cleverbot.com/
Lol I've been using that a lot. But that isn't really giving me ideas on what to add to MY chatbot.

Here's some functions I scrapped from a chatbot a friend gave to me.
Code: [Select]
if(getWord(%msg,0) $= $botname && getWord(%msg,1) $= "Calculate" && getWord(%msg,2) $= "Numbers") {
eval("$Equals = "@%args3@";");
if($Equals)
commandToServer('messageSent', $botname@": "@%args3@" = "@$Equals);
return;
} if(getWord(%msg,0) $= $botname && getWord(%msg,1) $= "Check" && getWord(%msg,2) $= "Ping") {
if(%name $= $Owner) {
%ping=serverConnection.getPing();
commandToServer('messageSent', $botname@": Your Ping ["@%ping@" ms]");
return;
Enjoy

Wait, what does the 1st part do?
If the first word of the user's message is equal to the variable botname, and if the second word of the user's message is equal to Calculate, and if the third word of the users name is equal to Numbers.. Then blah blah

so what does the function actually do...

Hellooooooo? Anybody out there?

Markov Chain bots are amusing.