
MAXSCRIPT: Centering pivot on selected object.
by piro
Small, very simple script that saves me few clicks:
macroScript centerPivot Category:"_Piro_Tools" toolTip:"Center Pivot"($.pivot = $.center)
Centers the object pivot to geometry-weighted center, especially usefull when you duplicate mesh elements using shift+drag method.
Found again here:

Bind it to key, quad or toolbar as you wish.