Material ID Dashboard
MatID Dash allows you to rapidly assign material IDs to an editable poly object. Select your faces - and hit the number to assign that ID to the faces. The script also allows you to assign random material IDs by polygon - type in the IDs you wish to randomise across the selected polygons into the slot - separated by commas - e.g. 1 -2 -5 -8 - and hit R to assign them.
Standard Maxsripts (.ms) can be run from the Maxscript button in the utilities panel. To have them always available - save the scripts into your maxrootscriptsstartup directory.
Macroscripts (.mcr) should be placed in maxrootUIMacroscripts - and are then accessed through the 'Customise User Interface' menu in 3dsmax. You can then assign the script to a keystroke - or a button. All macroscripts will appear under the 'Dusk' category in the dropdown.