Can I map multiple CScript commands to a single key?
Yes, by separating them with semicolons. For example, the following string can be mapped to a key:
This script will clear the screen, then display "Hello World!" on a single line.
I need to map an entire script to a key, though. Is there some way I can do that with just one command?
The CompileFile() command will do that. The format for the command is:
Replace "scriptname.cs" with the name of your script. The quotation marks are required.