![]() |
sphere to chat bot (Pandora) - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Requests (/Forum-Script-Requests) +--- Thread: sphere to chat bot (Pandora) (/Thread-sphere-to-chat-bot-Pandora) |
sphere to chat bot (Pandora) - phibertap - 10-31-2013 08:53 AM Hey All, I was wondering if it would be possible to interface sphere with a chat bot like the ones at www.pandorabots.com It would be cool to have an NPC carry on a convo with players. Might even fool a few...... ![]() RE: sphere to chat bot (Pandora) - Rattlehead - 10-31-2013 10:42 AM if you look thru the spherewiki, u will see that NPC's can have verbal commands, like 'buy' and 'sell' brings up a menu, you can basically have it be any word you want like 'hi' and 'your mama' as many as you want, and then use something like: Code: on=*your mama* RE: sphere to chat bot (Pandora) - phibertap - 10-31-2013 01:10 PM Yes I'm aware of that, but interfacing to a chat bot that is based upon the AIML language is much more life like than that of a list of works and then a canned response. Try it out so you understand what I'm getting at. http://www.pandorabots.com/pandora/talk?botid=cd9075ed4e344a53 RE: sphere to chat bot (Pandora) - sco - 11-01-2013 09:50 PM You can. Did some web communications with spawn (see wiki) and wget command on my linux server. Works, but reading the response is not as easy. You need something outside of your sphere, that writes to a file or a database and - as the request & response will take some time - an idea how to properly wait for that. |