This command manages the attachment of scripts to Soar I/O. Soar has an event defined for input and another for output. Scripts can be attached to these Soar events so that they are invoked every time the Soar event occurs. These scripts can later be removed using the io command. The status of attachments can be listed also. If a new attachment is created, its identifier is returned as the result of this command.
The specified action must have one of the following forms:
A detailed example of using Soar I/O in Tcl is given in the file demos/soar-io-using-tcl.tcl.