Did you know ... Search Documentation:
Pack plchatscript -- prolog/chatscript.pl
PublicShow source

http://chatscript.sourceforge.net/

author
- Anne Ogborn
version
- 1.0.6
license
- mit
 set_chatscript_address(+Address:term) is det
Set the address of the chatscript server
Arguments:
Address- a term of form domain:port
 talk(+User:atom, +Bot:atom, +Message:atom, -Reply:string) is semidet
Send a volley to the server. You must call start_conversation before calling this, for each user
Arguments:
User- User name
Bot- name of the bot. The default bot is ''
Message- user's input to the bot. No nl. Must not be the null string
Reply- bots response
 start_conversation(+User:atom, +Bot:atom, -Reply:string) is det
Call this for each user to initiate a conversation. This makes a set of user variables for the user and gets the initial response. ChatScript requires calling this prior to calling talk/4 with a new user.
Arguments:
User- Username
Bot- Bot name
Reply- The utterance the bot will start the conversation with