I suggest you'll look through Maya help for Mel language first. https://www.highend3d.com/maya/tutori...g-MEL-264.html