How to automate creating something like this?

 From:  Michael Gibson
8088.22 In reply to 8088.21 
Hi Mike, please see reply over here: http://moi3d.com/forum/index.php?webtag=MOI&msg=5416.47

You'll definitely only get that particular error message if it's not installed correctly - either the files are not in the commands folder where MoI is looking for them (in which case as a last resort it tries to run the text content as script code), or your keyboard shortcut is not set up properly like if it reads script:Randomize (the script: prefix tells MoI to execute the following as direct script code) instead of just plain Randomize.

The error means the script engine tried to run the plain text "Randomize" as script code.

- Michael