A training software package for new mine employees, called Miner Training Simulator (MTS), has been developed by researchers at the National Institute for Occupational Safety and Health. MTS is a computer-based tool that allows a trainee to enter a simulated mine and interact with his/her surroundings in order to learn basic mining concepts, safety procedures, mine layouts, and escape routes. The training simulator software and instructions for its use are described in this report. Also, each mine using the software will have different requirements with regard to safety training. To customize the simulator for these differences, an interpreted scripting language is used to define interactions between the trainee and the virtual mine and objects in it. The scripting language, called Tool Command Language, uses simple commands to control various actions in the simulation, such as sounds, safety messages, hazards, and movement of objects. The basics of the scripting language are described here, along with many examples and instructions for building a script for MTS.