SamTalk
(for Windows 95/98)

Author: Kevin Puckett Albrecht
SamTalk Version: 5.1.1
Interpreter Version: 5.1.1
Date: July 8, 2000
E-mail: kevin@albrecht.net
Website: http://www.eng.usf.edu/~kpalbrec/

Description

SamTalk is the newest version of Sam, or Scriptable Artificial Mind. SamTalk loads a brain file. The user can then talk to Sam. Sam brain files are identified by the following extension and/or MIME type: (.brn, text/x-vnd.KPA-sambrain).

Usage

On the command line, type the following:

samtalk [brain file]

Brain Scripting Language (Version 5)

n>>
Sets the name of the brain; Only set this once.
v>>
Sets the version of the scripting language of the brain; Only set this once.
>>>
Marks a comment
s>>
Matches exact sentence the user types. (Note: not case-sensitive.)
p>>
Matches phrase the user types in a sentence ending in a period, exlamation point, or nothing. (Note: not case-sensitive.)
p?>
Matches phrase the user types in a sentence ending in a question mark. (Note: not case-sensitive.)
e>>
Marks sentences to respond with when no match is found and the user's input ends in a period, exlamation point, or nothing.
e?>
Marks sentences to respond with when no match is found and the user's input ends in a question mark.
r>>
Sentence that brain responds with. If the responding sentence begins with <q>, the rest of the response is displayed, and then the program ends.
<<<
Marks the end of a block of responses (r>>).