Thats because ctrl, shift, alt, and none in the first script are not what you think. They are being used as variables there that are not defined. ctrl, shift, alt, and none are not keywords known to maxscript so its thinking they are just variables you've assigned somewhere else. When you add # in front of a name they…