14.06.2013, 10:47
Hi all,
I have saw Cleverbot include on this thread : https://sampforum.blast.hk/showthread.php?tid=315117
And i hosted the PHP files at WAMP server, included the CleverBot include and made a command that let you talk with the bot.
But when i tested it, the clever bot doesn't say anything...
Screen:

When i run my WAMP localhost :
1.Test.php :
2.chatterbotapi.php :
And the link on Clever Bot include :
I have saw Cleverbot include on this thread : https://sampforum.blast.hk/showthread.php?tid=315117
And i hosted the PHP files at WAMP server, included the CleverBot include and made a command that let you talk with the bot.
Код:
YCMD:bot(playerid,params[],help) { if(isnull(params)) return SendClientMessage(playerid,-1,"[USAGE] /message <Text>"); new str[128]; format(str, sizeof(str), "Me: %s", Name(playerid),params); SendClientMessage(playerid, C_GREEN, test); SendPlayerMessageToCleverbot(playerid, params); return 1; }
Screen:

When i run my WAMP localhost :
1.Test.php :
Код:
Cleverbot:
Код:
(empty)
Код:
#define CleverHost "localhost/test.php" //Location to the test.php file! (Without HTTP://)