Prolog interface to the ChatScript chatbot engine.
You will need to install ChatScript from here
And run the server by running
=|C:\docs\chatscript\chatscript.exe port=4050 userlog serverctrlz|=
on windows or
=|./LinuxChatScript64 port=4050 userlog serverctrlz|=
on linux.
Note that on Linux you'll need SWI-Prolog 7.3.0 or better,
set the chatscript address at
set_chatscript_address(localhost:4050)
then for each user, start a conversation with
start_conversation(someuser, '', Reply)
the '' is the name of the bot. The '' is the default bot.
then for each volley, use talk/4
- make your local changes
- change this file by adding a description of your release on last line
- change pack.pl to use the new release number
- commit changes locally
- add tag to commit (git tag x.y.z)
- git push origin master
- download the appropriate archive from github: https://github.com/Anniepoo/plchatscript/archive/1.0.8.zip You can also make your own archive. USE ZIP, NOT bz or gz structure inside the zip MUST be: plchatscript -+ + README.md + pack.pl + prolog - + + chatscript.pl + license.txt
this is how github makes the archive, so using theirs is convenient
- Upload this archive to /var/www/packs on www.pathwayslms.com
- run SWI-Prolog
- ?- pack_install('http://pathwayslms.com/packs/plchatscript-1.0.8.zip'). <-- with whatever version your making
1.0.6 improve failure recovery 1.0.7 chnaged readme, and fixed version 1.0.8 fighting darn pack system 1.0.9 even more fighting darned pack system