MAXScript is the general-purpose scripting language for 3ds Max and related products. While it works the same for all products, some functions are specific to each. You can use MAXScript to automate many tasks, including modeling, animation, material construction, and rendering. You can also use MAXScript to add custom command-panel rollouts to the user interface.
The interface to MAXScript is on both the MAXScript menu and the Utilities panel.