MEL script nodes

Script nodes are a way of storing a MEL script in a Maya LT scene file.

You set a script node to execute its “payload” in response to a type of event: When the node is read from a file, or when a file is closed.

A script node has three attributes: Before, After, and Type. Depending on the Type of script, the Before and After attributes specify when the script executes.