macroScript ZeroCenter_PivotSwitcher Category:"Niklit Scripts" Tooltip:"Zero-Center Pivot Switcher"
(
For Obj in selection do
if Obj.Pivot != [0,0,0] then Obj.Pivot = [0,0,0] else CenterPivot Obj
)
messagebox("Actions are stored in Category: \"Niklit Scripts\"")