In addition to controlling modeling and animation, MAXScript scripts can invoke 3ds Max menu and toolbar commands. You do this using the "max" keyword.
The keyword max is followed by one or more words that describe the command. The available commands can be displayed by using the "?" character in a partial max command.
For a complete list of max commands, see the MAX Commands topic.
Saving your Commands in a Script File