Intro: THE MATRIX PLUGIN The Matrix program allows for a variety of different kinds of commands and scripting techniques. It allows the User to add the Execute and ExecuteGobal commands, use the Wscript commands, allows for connections to outside databases, and create your own classes. The Matrix plugin essentially lets the user create a plugin using the .vbs script instead of the limited .uhp extension. Therefore certain Hal scripting limitations are eliminated. ************************************************************************** Changes to be aware of: There are certain scripting changes that have to be made to allow the user to create their plugin. #1 instead of using the GetResponse command use the Hal.GetResponse(Response) in it's place. #2 when preforming changes to the Hal database you will first need to open the database file using the 'HalBrain.OpenDatabase(c:/hal6.db)' command. You will need to specify which database. ************************************************************************** Added commands and Classed: There are also certain predefined command that I added to help the user in his plugin creations #1 Use the Hal.GetScript(C:/userscript.vbs) to include an outside script. Use this instead of the Execute and ExecuteGlobal Commands. #2 Use the Hal.GetResponse(HalResponse) command for the above reasons. #3 Use the Hal.OpenProgram("C:/Program.exe") to open a program in a script. I also added a class that makes using the MSI Database a snap. FYI the MSI database was and is used to install programs on Microsoft PCs, however, it is a very easily used database and can add some awesome functionality to your scripts. I will also give you a free program that opens the database for viewing. I'll also include Documentation explaining the MSI class commands. ************************************************************************** Instuctions of use: Just add the Entire Matrix2 folder to your 'C:\Program Files\Zabaware\Ultra Hal 6\' directory and remove the Matrix2.uhp plugin out of the Matrix folder and place it with the rest of Hal's .uhp plugins. Once this is done just select the plugin in the Hal's 'General Options' window. When you create your plugins just add them to the Matrix2/Plugins directory. You don't have to load them into Hal.... if you've ever had to load and reload .uhp plugins that you were designing, then you will see just another reason why this is an cool plugin. The CamWood Editor will be included in the Matrix. Just install as you would any other program. The MSI Documentation is also in the Matrix Folder. It should open in any web browser. See below for more on the Camwood Editor. ************************************************************************** Known problems: It can be slow at times, especially the first time you use it. You cannot add menues and other plugin operations to the 'General Options' panel. ************************************************************************** Parameters: There are currently only three variables passed to the matrix: 1# OriginalSentence/Usersentence 2# Username 3# ComputerName 4# LearningLevel 5# DatabaseFile 6# Hate 7# Swear 8# Insults 9# Compliment 10# PrevSent 11# LastResponseTime 12# PrevUserSent 13# CustomMem 14# GainControl 15# LastTopicList 16# HalCommands 17# HalAge 18# HalSex ************************************************************************** The Camwood MSI Editor: The Camwood editor is easy to install, works fine in Windows Vista, and is easy to use. Just open your database with it and begin populating, deleting, or just looking. Alway shut down the editor before accessing your database via a script. Otherwise, the Camwood editor will keep your script from accessing the database. **************************************************************************