Your script should work. Dipping your toes into scripting is always a good idea! If I were to critique it I would say it's only missing some error checks. For example, if you didn't have an object select, or were at Object Level and not in Sub Object Level the script would crash. Not that I'm the best scripter, but this is…
Trying to figure out how to assign single hotkey to chamfer and bevel in 3Ds Max (want this to be like Modo's all-in-one bevel tool). Supposed to be working (it's beveling and chamfering so far) but I'm not sure it's proper way of scripting. Any maxscript gurus? Is this script legit?